// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// 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())