]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/checkbox.cpp
Committing in .
[wxWidgets.git] / src / mac / carbon / checkbox.cpp
index aa589bd32db9d517554e6c59f95c79e9f9bbe3e3..df3424b88fca86cc1a7756b8c463cb9926cce626 100644 (file)
@@ -59,6 +59,10 @@ void wxCheckBox::Command (wxCommandEvent & event)
 void wxCheckBox::MacHandleControlClick( ControlHandle control , SInt16 controlpart ) 
 {
        SetValue( !GetValue() ) ;
+    wxCommandEvent event(wxEVT_COMMAND_CHECKBOX_CLICKED, m_windowId );
+    event.SetInt(GetValue());
+    event.SetEventObject(this);
+    ProcessCommand(event);
 }
 
 // Bitmap checkbox