]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/checklst_osx.cpp
added GetEnglish{Month,WeekDay}Name()
[wxWidgets.git] / src / osx / checklst_osx.cpp
index b420d6d3ecef822aa5d67c6c600798e9a00df364..1c3a1d581513613ab32be4d01e3297bae2240d18 100644 (file)
@@ -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 );
     }