X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/426d19f1391a685de14a71b9fc4339bb929e441a..8ae80de41f98d12fbdb36eb4732195d21d1f4fa8:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index 43ca4f09e3..fef7b3c61c 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -46,9 +46,7 @@ static void gtk_checklist_toggled(GtkCellRendererToggle * WXUNUSED(renderer), // wxCheckListBox //----------------------------------------------------------------------------- -IMPLEMENT_DYNAMIC_CLASS(wxCheckListBox,wxListBox) - -wxCheckListBox::wxCheckListBox() : wxListBox() +wxCheckListBox::wxCheckListBox() : wxCheckListBoxBase() { m_hasCheckBoxes = true; } @@ -123,7 +121,7 @@ bool wxCheckListBox::IsChecked(unsigned int index) const 0, //column &value); - return g_value_get_boolean(&value) == TRUE ? true : false; + return g_value_get_boolean(&value) != 0; } void wxCheckListBox::Check(unsigned int index, bool check)