Remove unnecessary wxSearchCtrl::OnSetFocus()

This was useless as wxCompositeWindow, from which the generic
wxSearchCtrl derives, already sets focus to its first child and, since
the last commit, even harmful as it now resulted in calls to SetFocus()
from inside wxEVT_SET_FOCUS handler which is forbidden at least under
MSW.

See #15569.
This commit is contained in:
Vadim Zeitlin
2018-01-29 18:45:45 +01:00
parent 3b40ff0d41
commit 99dea2e2e0
2 changed files with 0 additions and 10 deletions

View File

@@ -223,7 +223,6 @@ protected:
void OnCancelButton( wxCommandEvent& event );
void OnSetFocus( wxFocusEvent& event );
void OnSize( wxSizeEvent& event );
bool HasMenu() const