X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..22e0ea84c89c61cceb3deb2b62145afa047a0dff:/src/mac/checkbox.cpp diff --git a/src/mac/checkbox.cpp b/src/mac/checkbox.cpp index ca99c4b778..c3d4ce9709 100644 --- a/src/mac/checkbox.cpp +++ b/src/mac/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