X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/caf6e6dee8d177844bb633786ec8c05eba6972bc..eea4d01c65f9b29baa1193db762b4c6b8144af24:/src/gtk1/checklst.cpp diff --git a/src/gtk1/checklst.cpp b/src/gtk1/checklst.cpp index 9ca0fc0b7a..bb84a1816d 100644 --- a/src/gtk1/checklst.cpp +++ b/src/gtk1/checklst.cpp @@ -22,8 +22,6 @@ // wxCheckListBox //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox,wxListBox) - wxCheckListBox::wxCheckListBox() : wxListBox() { m_hasCheckBoxes = true; @@ -55,7 +53,7 @@ wxCheckListBox::wxCheckListBox(wxWindow *parent, wxWindowID id, style, validator, name ); } -bool wxCheckListBox::IsChecked( int index ) const +bool wxCheckListBox::IsChecked(unsigned int index) const { wxCHECK_MSG( m_list != NULL, false, wxT("invalid checklistbox") ); @@ -74,7 +72,7 @@ bool wxCheckListBox::IsChecked( int index ) const return false; } -void wxCheckListBox::Check( int index, bool check ) +void wxCheckListBox::Check(unsigned int index, bool check ) { wxCHECK_RET( m_list != NULL, wxT("invalid checklistbox") );