X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..fb8d7eb7a880f1f2e32d8830f9c5e12b2536e05f:/src/motif/radiobut.cpp diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index d6832a3f6d..eff4009524 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -159,13 +159,13 @@ void wxRadioButtonCallback (Widget WXUNUSED(w), XtPointer clientData, if ( old ) { - wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, + wxCommandEvent event(wxEVT_RADIOBUTTON, old->GetId() ); event.SetEventObject(old); event.SetInt( false ); old->ProcessCommand(event); } - wxCommandEvent event2(wxEVT_COMMAND_RADIOBUTTON_SELECTED, item->GetId() ); + wxCommandEvent event2(wxEVT_RADIOBUTTON, item->GetId() ); event2.SetEventObject(item); event2.SetInt( true ); item->ProcessCommand(event2);