summaryrefslogtreecommitdiff
path: root/LiteEditor/shelltab.cpp
diff options
context:
space:
mode:
authorChow Loong Jin <hyperair@gmail.com>2010-02-13 02:46:33 +0800
committerChow Loong Jin <hyperair@gmail.com>2010-02-13 02:46:33 +0800
commitab5bf5023dc0f25091831e11fd68bcf33bbeb4c3 (patch)
tree5eba75d8e730a4333182f8532e76623e8357f6bf /LiteEditor/shelltab.cpp
parent5ec7ea8b2ec3db0551071242c80c4ce575dfde47 (diff)
Imported Upstream version 2.2.0.3681
Diffstat (limited to 'LiteEditor/shelltab.cpp')
-rw-r--r--LiteEditor/shelltab.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/LiteEditor/shelltab.cpp b/LiteEditor/shelltab.cpp
index 927d8f60..39adc8c6 100644
--- a/LiteEditor/shelltab.cpp
+++ b/LiteEditor/shelltab.cpp
@@ -76,7 +76,7 @@ ShellTab::ShellTab(wxWindow* parent, wxWindowID id, const wxString& name)
m_inputSizer->Add(btn, 0, wxRIGHT|wxLEFT|wxALIGN_CENTER_VERTICAL, 5);
m_findBar = new QuickFindBar(this);
- m_findBar->Connect(XRCID("close_quickfind"), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(ShellTab::OnShowInput), NULL, this);
+ m_findBar->Connect(m_findBar->GetCloseButtonId(), wxEVT_COMMAND_BUTTON_CLICKED, wxCommandEventHandler(ShellTab::OnShowInput), NULL, this);
m_findBar->SetEditor(m_sci);
// grab the base class scintilla and put our sizer in its place