X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3304646d0657d889ad676485a4b635e2032b0038..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/palmos/frame.cpp diff --git a/src/palmos/frame.cpp b/src/palmos/frame.cpp index ad66236bf5..da9e70ede7 100644 --- a/src/palmos/frame.cpp +++ b/src/palmos/frame.cpp @@ -38,12 +38,9 @@ #include "wx/log.h" #include "wx/toolbar.h" #include "wx/statusbr.h" + #include "wx/menuitem.h" #endif // WX_PRECOMP -#include "wx/generic/statusbr.h" - -#include "wx/menuitem.h" - #ifdef __WXUNIVERSAL__ #include "wx/univ/theme.h" #include "wx/univ/colschem.h" @@ -225,7 +222,7 @@ bool wxFrame::HandleMenuSelect(WXEVENTPTR event) wxCommandEvent commandEvent(wxEVT_COMMAND_MENU_SELECTED, item); commandEvent.SetEventObject(this); - GetEventHandler()->ProcessEvent(commandEvent); + HandleWindowEvent(commandEvent); return true; }