]> git.saurik.com Git - wxWidgets.git/blobdiff - src/stubs/frame.cpp
Corrected Motif build,
[wxWidgets.git] / src / stubs / frame.cpp
index 48ff977bdadc75d5ba9fbfb25a25efe40bac4422..0a15c650aff7e784c60b0e3c5e6dbc4cde816f30 100644 (file)
@@ -451,11 +451,7 @@ void wxFrame::ProcessCommand(int id)
   }
 */
 
-  // Process events starting with the window with the focus, if any.
-  wxWindow* focusWin = wxFindFocusDescendant(this);
-
-  wxEvtHandler* evtHandler = focusWin ? focusWin->GetEventHandler() : GetEventHandler();
-
+  wxEvtHandler* evtHandler = GetEventHandler();
   evtHandler->ProcessEvent(commandEvent);
 }