// dynamic classes implementation
// ----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxMenuItem, wxObject)
-
// ----------------------------------------------------------------------------
// wxMenuItem
// ----------------------------------------------------------------------------
wxMenuItem *item = (wxMenuItem *) clientData;
if (item)
{
- wxCommandEvent event(wxEVT_COMMAND_MENU_SELECTED, item->GetId());
+ wxCommandEvent event(wxEVT_MENU, item->GetId());
event.SetInt( item->GetId() );
if (item->IsCheckable())