]> git.saurik.com Git - wxWidgets.git/blobdiff - src/palmos/frame.cpp
remove incorrect cast of wxString to char* (unnecessary and breaks wxUSE_STL build)
[wxWidgets.git] / src / palmos / frame.cpp
index 827dd5a3077310907691e0136a6cf902510f04ce..da9e70ede71effd888ea018ee81f863913a2693c 100644 (file)
@@ -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;
 }