From: Vadim Zeitlin Date: Wed, 30 Jan 2008 21:32:17 +0000 (+0000) Subject: use HandleWindowEvent() in ProcessCommand(); return the value this function returns... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e047f594b679f986f8522439e8d2630e119558fd use HandleWindowEvent() in ProcessCommand(); return the value this function returns instead of returning true unconditionally git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51464 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/framecmn.cpp b/src/common/framecmn.cpp index bbd09bf8b4..c1a25b5a8e 100644 --- a/src/common/framecmn.cpp +++ b/src/common/framecmn.cpp @@ -211,8 +211,7 @@ bool wxFrameBase::ProcessCommand(int id) } } - GetEventHandler()->ProcessEvent(commandEvent); - return true; + return HandleWindowEvent(commandEvent); #else // !wxUSE_MENUS wxUnusedVar(id);