X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e7478376f1274fb462443ad911647e65e76f3bd8..ca282726be518ce2f214b890dbaafce736f14e36:/src/gtk/checklst.cpp diff --git a/src/gtk/checklst.cpp b/src/gtk/checklst.cpp index a75aebf608..e082643422 100644 --- a/src/gtk/checklst.cpp +++ b/src/gtk/checklst.cpp @@ -121,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)