X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4e3e485bc855bb6aa3e3e7978eac9fb5eea0287e..9d5507f7a2701395e1d5c121bd877bb9066ee6ea:/src/palmos/frame.cpp?ds=inline 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; }