X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3304646d0657d889ad676485a4b635e2032b0038..2fea6972c7975a59b3cb2470c3d320402dfa2f97:/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; }