diff --git a/include/wx/generic/srchctlg.h b/include/wx/generic/srchctlg.h index a8d2aab843..7ac2878698 100644 --- a/include/wx/generic/srchctlg.h +++ b/include/wx/generic/srchctlg.h @@ -172,9 +172,6 @@ public: virtual bool DoAutoCompleteFileNames(int flags) wxOVERRIDE; virtual bool DoAutoCompleteCustom(wxTextCompleter *completer) wxOVERRIDE; - // do the window-specific processing after processing the update event - virtual void DoUpdateWindowUI(wxUpdateUIEvent& event) wxOVERRIDE; - virtual bool ShouldInheritColours() const wxOVERRIDE; // wxWindow overrides diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 6659dc6bd3..3eba2795d5 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -905,12 +905,6 @@ bool wxSearchCtrl::DoSaveFile(const wxString& file, int fileType) return m_text->DoSaveFile(file, fileType); } -// do the window-specific processing after processing the update event -void wxSearchCtrl::DoUpdateWindowUI(wxUpdateUIEvent& event) -{ - wxSearchCtrlBase::DoUpdateWindowUI(event); -} - bool wxSearchCtrl::ShouldInheritColours() const { return true;