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
This commit is contained in:
Vadim Zeitlin
2008-01-30 21:32:17 +00:00
parent 4b90273553
commit e047f594b6

View File

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