choice->m_selection_hack = selection;
- wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, choice->GetId() );
+ wxCommandEvent event(wxEVT_CHOICE, choice->GetId() );
int n = choice->GetSelection();
event.SetInt( n );
// wxChoice
//-----------------------------------------------------------------------------
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
wxChoice::wxChoice()
{
m_strings = NULL;