Fixed menu event propogation to be consistent across platforms, and

with the docs.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@19967 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-04-03 18:39:20 +00:00
parent b6f6e5a77e
commit 073233381b
3 changed files with 88 additions and 65 deletions

View File

@@ -204,7 +204,8 @@ bool wxFrameBase::ProcessCommand(int id)
}
}
return GetEventHandler()->ProcessEvent(commandEvent);
GetEventHandler()->ProcessEvent(commandEvent);
return TRUE;
#else // !wxUSE_MENUS
return FALSE;
#endif // wxUSE_MENUS/!wxUSE_MENUS