]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/frame.cpp
wxDataViewCtrl::Expand() only works on items whose parents are already
[wxWidgets.git] / src / palmos / frame.cpp
index db49861dda35ec0ae733a612ff860141cc22f364..da9e70ede71effd888ea018ee81f863913a2693c 100644 (file)
     #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;
 }