X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e3e485bc855bb6aa3e3e7978eac9fb5eea0287e..5d7792236f7e4fcbb94cdc2a5213e0c5788e8c28:/src/palmos/frame.cpp diff --git a/src/palmos/frame.cpp b/src/palmos/frame.cpp index db49861dda..da9e70ede7 100644 --- a/src/palmos/frame.cpp +++ b/src/palmos/frame.cpp @@ -37,14 +37,9 @@ #include "wx/panel.h" #include "wx/log.h" #include "wx/toolbar.h" -#endif // WX_PRECOMP - -#if wxUSE_STATUSBAR #include "wx/statusbr.h" - #include "wx/generic/statusbr.h" -#endif // wxUSE_STATUSBAR - -#include "wx/menuitem.h" + #include "wx/menuitem.h" +#endif // WX_PRECOMP #ifdef __WXUNIVERSAL__ #include "wx/univ/theme.h" @@ -227,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; }