X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/25466131acbbca2186d01fb852d61f50ba968fb4..3201a1046ba71ba8e5ef2ed694fde34d12f743f3:/src/palmos/frame.cpp diff --git a/src/palmos/frame.cpp b/src/palmos/frame.cpp index 827dd5a307..da9e70ede7 100644 --- a/src/palmos/frame.cpp +++ b/src/palmos/frame.cpp @@ -41,8 +41,6 @@ #include "wx/menuitem.h" #endif // WX_PRECOMP -#include "wx/generic/statusbr.h" - #ifdef __WXUNIVERSAL__ #include "wx/univ/theme.h" #include "wx/univ/colschem.h" @@ -224,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; }