X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/27657c99cce8e56f30c8cecc66d8f651e2ba03dd..12bb29f5432174ecbd65549bda832d70d34a98ae:/src/motif/combobox.cpp diff --git a/src/motif/combobox.cpp b/src/motif/combobox.cpp index 65fcf3f7ac..aac9cc7e4e 100644 --- a/src/motif/combobox.cpp +++ b/src/motif/combobox.cpp @@ -232,7 +232,7 @@ void wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData, case XmCR_SINGLE_SELECT: case XmCR_BROWSE_SELECT: { - wxCommandEvent event (wxEVT_COMMAND_COMBOBOX_SELECTED, + wxCommandEvent event (wxEVT_COMBOBOX, item->GetId()); event.SetInt(cbs->index - 1); event.SetString( item->GetString ( event.GetInt() ) ); @@ -247,7 +247,7 @@ void wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData, } case XmCR_VALUE_CHANGED: { - wxCommandEvent event (wxEVT_COMMAND_TEXT_UPDATED, item->GetId()); + wxCommandEvent event (wxEVT_TEXT, item->GetId()); event.SetInt(-1); event.SetString( item->GetValue() ); event.SetExtraLong(true);