X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a1b806b98241ab649c169aaa1f134df85e80fb8b..f363cee882672e147340240cf0bb194a68e37833:/src/motif/choice.cpp?ds=sidebyside diff --git a/src/motif/choice.cpp b/src/motif/choice.cpp index 7557887c05..ce9555df75 100644 --- a/src/motif/choice.cpp +++ b/src/motif/choice.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart // Modified by: // Created: 17/09/98 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -411,7 +410,7 @@ void wxChoiceCallback (Widget w, XtPointer clientData, XtPointer WXUNUSED(ptr)) int n = item->GetWidgets().Index(w); if (n != wxNOT_FOUND) { - wxCommandEvent event(wxEVT_COMMAND_CHOICE_SELECTED, item->GetId()); + wxCommandEvent event(wxEVT_CHOICE, item->GetId()); event.SetEventObject(item); event.SetInt(n); event.SetString( item->GetStrings().Item(n) );