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:
@@ -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
|
||||||
|
@@ -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;
|
||||||
|
Reference in New Issue
Block a user