Remove unnecessary DoUpdateWindowUI() override in wxSearchCtrl

There is no need to override this virtual method just to call the base
class version.
This commit is contained in:
Vadim Zeitlin
2018-07-07 00:57:44 +02:00
parent 18899ce4bc
commit 03b7491bea
2 changed files with 0 additions and 9 deletions

View File

@@ -172,9 +172,6 @@ public:
virtual bool DoAutoCompleteFileNames(int flags) wxOVERRIDE; virtual bool DoAutoCompleteFileNames(int flags) wxOVERRIDE;
virtual bool DoAutoCompleteCustom(wxTextCompleter *completer) 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; virtual bool ShouldInheritColours() const wxOVERRIDE;
// wxWindow overrides // wxWindow overrides

View File

@@ -905,12 +905,6 @@ bool wxSearchCtrl::DoSaveFile(const wxString& file, int fileType)
return m_text->DoSaveFile(file, 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 bool wxSearchCtrl::ShouldInheritColours() const
{ {
return true; return true;