X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..3ce946d47ef03fcf330b0a28c0ff815ea480da55:/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