From 2902ec61163c4764f744955a7b0815a85d66f466 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 30 Jan 2008 21:31:03 +0000 Subject: [PATCH] return the result of ProcessEvent() from ProcessCommand() instead of always returning true unconditionally git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@51463 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/framecmn.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index 2b124b9a44..51e11ac6f6 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -221,8 +221,7 @@ bool wxFrameBase::ProcessCommand(int id) } } - GetEventHandler()->ProcessEvent(commandEvent); - return true; + return GetEventHandler()->ProcessEvent(commandEvent); #else // !wxUSE_MENUS return false; #endif // wxUSE_MENUS/!wxUSE_MENUS