]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/frame.cpp
remove confusing wxDialog::ButtonSizerFlags and extract button styles properly in...
[wxWidgets.git] / src / palmos / frame.cpp
index ad66236bf54dd1f4264bcd358c4002e0a16b132a..da9e70ede71effd888ea018ee81f863913a2693c 100644 (file)
     #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;
 }