wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() );
event.SetInt( n );
+ event.SetString( GetString( n ) );
event.SetEventObject( this );
HandleWindowEvent( event );
}
void wxCheckListBox::OnItemInserted(unsigned int pos)
{
+ wxListBox::OnItemInserted(pos);
+
m_checks.Insert(false, pos );
}
void wxCheckListBox::DoClear()
{
+ wxListBox::DoClear();
+
m_checks.Empty();
}