X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7712257ef218b93aaa31b6512800ffd7558ffc3c..5fab0c8d86f7bd7015db8d0ece8ce02ba1b602d8:/src/osx/checklst_osx.cpp diff --git a/src/osx/checklst_osx.cpp b/src/osx/checklst_osx.cpp index b420d6d3ec..1c3a1d5815 100644 --- a/src/osx/checklst_osx.cpp +++ b/src/osx/checklst_osx.cpp @@ -117,10 +117,11 @@ 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 ); + event.SetString( GetString( n ) ); event.SetEventObject( this ); HandleWindowEvent( event ); }