#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"
wxCommandEvent commandEvent(wxEVT_COMMAND_MENU_SELECTED, item);
commandEvent.SetEventObject(this);
- GetEventHandler()->ProcessEvent(commandEvent);
+ HandleWindowEvent(commandEvent);
return true;
}