]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/frame.cpp
fixing file paths after renaming
[wxWidgets.git] / src / palmos / frame.cpp
index 8d2f51ee16d44f6690f31ab4d17861e34afffecf..da9e70ede71effd888ea018ee81f863913a2693c 100644 (file)
     #include "wx/mdi.h"
     #include "wx/panel.h"
     #include "wx/log.h"
-#endif // WX_PRECOMP
-
-#if wxUSE_STATUSBAR
-    #include "wx/statusbr.h"
-    #include "wx/generic/statusbr.h"
-#endif // wxUSE_STATUSBAR
-
-#if wxUSE_TOOLBAR
     #include "wx/toolbar.h"
-#endif // wxUSE_TOOLBAR
-
-#include "wx/menuitem.h"
+    #include "wx/statusbr.h"
+    #include "wx/menuitem.h"
+#endif // WX_PRECOMP
 
 #ifdef __WXUNIVERSAL__
     #include "wx/univ/theme.h"
@@ -230,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;
 }