]> git.saurik.com Git - wxWidgets.git/commitdiff
use HandleWindowEvent() in ProcessCommand(); return the value this function returns...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Jan 2008 21:32:17 +0000 (21:32 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 30 Jan 2008 21:32:17 +0000 (21:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/framecmn.cpp

index bbd09bf8b478a725d8840665171cb89f38096e6a..c1a25b5a8ee44efa7818e9e9224d5f78878e5e93 100644 (file)
@@ -211,8 +211,7 @@ bool wxFrameBase::ProcessCommand(int id)
         }
     }
 
-    GetEventHandler()->ProcessEvent(commandEvent);
-    return true;
+    return HandleWindowEvent(commandEvent);
 #else // !wxUSE_MENUS
     wxUnusedVar(id);