X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/289532452089421ddadbd4726a8469511a19ab76..0d1903dbda864780eec30efdc4e91776bdbfd21b:/src/motif/radiobut.cpp diff --git a/src/motif/radiobut.cpp b/src/motif/radiobut.cpp index d6832a3f6d..aa1dbd7b5e 100644 --- a/src/motif/radiobut.cpp +++ b/src/motif/radiobut.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -159,13 +158,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);