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