X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/639dbb6dd6fd420845607c2dcac25541da1b58e2..07aaf32633ecf18ec3edfbb41793a112914792d0:/src/generic/srchctlg.cpp diff --git a/src/generic/srchctlg.cpp b/src/generic/srchctlg.cpp index 91000de3cb..4e9fd4bb83 100644 --- a/src/generic/srchctlg.cpp +++ b/src/generic/srchctlg.cpp @@ -72,6 +72,10 @@ public: InvalidateBestSize(); } + virtual wxWindow* GetMainWindowOfCompositeControl() + { + return m_search; + } // provide access to the base class protected methods to wxSearchCtrl which // needs to forward to them @@ -182,6 +186,11 @@ public: // is really no reason for it to be able to get focus from keyboard. virtual bool AcceptsFocusFromKeyboard() const { return false; } + virtual wxWindow* GetMainWindowOfCompositeControl() + { + return m_search; + } + protected: wxSize DoGetBestSize() const {