]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/checkbox.cpp
removed now obsoleted commented-out piece of code
[wxWidgets.git] / src / mac / checkbox.cpp
index ca99c4b778bbfe036bad4482e3ca4f1a4ade410d..c3d4ce9709f224f7356a82070aa006f3d1e27c50 100644 (file)
@@ -61,6 +61,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