Removed wxFindFocusDescendant for non-wxMSW platforms.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8478 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -530,7 +530,11 @@ void wxToolBarBase::DoToolbarUpdates()
|
||||
while (parent->GetParent())
|
||||
parent = parent->GetParent();
|
||||
|
||||
#ifdef __WXMSW__
|
||||
wxWindow* focusWin = wxFindFocusDescendant(parent);
|
||||
#else
|
||||
wxWindow* focusWin = (wxWindow*) NULL;
|
||||
#endif
|
||||
|
||||
wxEvtHandler* evtHandler = focusWin ? focusWin->GetEventHandler() : GetEventHandler() ;
|
||||
|
||||
|
Reference in New Issue
Block a user