X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ad81651f00edc6f489d9b6a0839d316a964fd521..0a1c1e6214827e1d9dc9f6ca2c39567cb2d35ebc:/src/mac/checkbox.cpp diff --git a/src/mac/checkbox.cpp b/src/mac/checkbox.cpp index aa589bd32d..df3424b88f 100644 --- a/src/mac/checkbox.cpp +++ b/src/mac/checkbox.cpp @@ -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