]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/frame.cpp
* Commented out "delete this;"
[wxWidgets.git] / src / gtk / frame.cpp
index a21759384760a106f2a00800b56e3a3dab034aae..c018c5b1637979b8f07d53bef6296fe7cd5d804e 100644 (file)
@@ -655,10 +655,7 @@ void wxFrame::Command( int id )
         bar->Check(id,!bar->Checked(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);
 }