BEGIN_EVENT_TABLE(wxCheckListBox, wxListBox)
END_EVENT_TABLE()
-
+
void wxCheckListBox::Init()
{
}
bool wxCheckListBox::IsChecked(unsigned int n) const
{
wxCHECK_MSG( IsValid(n), false,
- _T("invalid index in wxCheckListBox::IsChecked") );
+ wxT("invalid index in wxCheckListBox::IsChecked") );
return m_checks[n] != 0;
}
void wxCheckListBox::Check(unsigned int n, bool check)
{
wxCHECK_RET( IsValid(n),
- _T("invalid index in wxCheckListBox::Check") );
+ wxT("invalid index in wxCheckListBox::Check") );
// intermediate var is needed to avoid compiler warning with VC++
bool isChecked = m_checks[n] != 0;
if ( col == m_checkColumn )
{
Check( n, value.IsChecked() );
-
+
wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() );
event.SetInt( n );
event.SetString( GetString( n ) );