X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/51fbe4cc1d6f3368c55a07149abf13967dce3d9e..55410bb4f67febe1ca20654f078ea4fb9a6223ae:/src/osx/checklst_osx.cpp diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp index be06c9f289..1c3a1d5815 100644 --- a/src/osx/checklst_osx.cpp +++ b/src/osx/checklst_osx.cpp @@ -117,7 +117,7 @@ void wxCheckListBox::SetValueCallback( unsigned int n, wxListWidgetColumn* col , { if ( col == m_checkColumn ) { - Check( n, value.GetIntValue() ); + Check( n, value.GetIntValue() != 0 ); wxCommandEvent event( wxEVT_COMMAND_CHECKLISTBOX_TOGGLED, GetId() ); event.SetInt( n );