X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..523050b607cfb5e6f9dfcb1544eb4f49ec1978cd:/src/mac/carbon/checkbox.cpp

diff --git a/src/mac/carbon/checkbox.cpp b/src/mac/carbon/checkbox.cpp
index ca99c4b778..c3d4ce9709 100644
--- a/src/mac/carbon/checkbox.cpp
+++ b/src/mac/carbon/checkbox.cpp
@@ -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