// Author: Julian Smart
// Modified by:
// Created: 17/09/98
-// RCS-ID: $Id$
// Copyright: (c) Julian Smart
// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
// implementation
// ============================================================================
-IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox, wxListBox)
-
// ----------------------------------------------------------------------------
// implementation of wxCheckListBox class
// ----------------------------------------------------------------------------
label[1u] = (!::IsChecked(label)) ? checkChar : uncheckChar;
wxListBox::SetString(n, label);
- wxCommandEvent event(wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId());
+ wxCommandEvent event(wxEVT_CHECKLISTBOX, GetId());
if( HasClientObjectData() )
event.SetClientObject( GetClientObject(n) );
else if( HasClientUntypedData() )
event.SetEventObject(this);
event.SetString(GetString(n));
- GetEventHandler()->ProcessEvent(event);
+ HandleWindowEvent(event);
}
}