X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/6991087b08355e652866e97d3a8211103864ed8f..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/motif/radiobox.cpp?ds=inline diff --git a/src/motif/radiobox.cpp b/src/motif/radiobox.cpp index 00bcec5189..3e9b9cb597 100644 --- a/src/motif/radiobox.cpp +++ b/src/motif/radiobox.cpp @@ -14,10 +14,6 @@ #if wxUSE_RADIOBOX -#ifdef __VMS -#define XtDisplay XTDISPLAY -#endif - #include "wx/radiobox.h" #ifndef WX_PRECOMP @@ -394,7 +390,7 @@ void wxRadioBoxCallback (Widget w, XtPointer clientData, if (item->InSetValue()) return; - wxCommandEvent event (wxEVT_COMMAND_RADIOBOX_SELECTED, item->GetId()); + wxCommandEvent event (wxEVT_RADIOBOX, item->GetId()); event.SetInt(sel); event.SetString(item->GetStringSelection()); event.SetEventObject(item);