X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/cocoa/radiobut.mm?ds=sidebyside diff --git a/src/cocoa/radiobut.mm b/src/cocoa/radiobut.mm index 3a5d0553b0..70820d4a18 100644 --- a/src/cocoa/radiobut.mm +++ b/src/cocoa/radiobut.mm @@ -182,7 +182,7 @@ void wxRadioButton::Cocoa_wxNSButtonAction(void) { Cocoa_DeselectOtherButtonsInTheGroup(); } - wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, GetId()); + wxCommandEvent event(wxEVT_RADIOBUTTON, GetId()); InitCommandEvent(event); // event.SetEventObject(this); event.SetInt(GetValue()); Command(event);