]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/frame.cpp
More fixes to make Borland compile this in Unicode mode.
[wxWidgets.git] / src / motif / frame.cpp
index 2e3f2f78a1f7481cd68f9068c43a5a1a81bea4e7..98682e8b99defa62b39391b4477aae73f1b5cb21 100644 (file)
@@ -869,10 +869,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);
 }