]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/frame.cpp
Unicodified wxSplitPath
[wxWidgets.git] / src / msw / frame.cpp
index 4cfcc231d62617c3ed3db05836b17f4dbe97fbdc..a96d6d99b677ab84d197dcbfa5030b6288664b25 100644 (file)
@@ -917,10 +917,14 @@ void wxFrame::ProcessCommand(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);
 }