X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2a45803fc3877afd0ae3ce356dfe216505165882..11a23db53128bf244a089123b7fd27deb577a889:/src/motif/combobox_native.cpp?ds=sidebyside diff --git a/src/motif/combobox_native.cpp b/src/motif/combobox_native.cpp index 4f22c841b4..16630bf747 100644 --- a/src/motif/combobox_native.cpp +++ b/src/motif/combobox_native.cpp @@ -4,7 +4,6 @@ // Author: Julian Smart, Ian Brown // Modified by: // Created: 01/02/03 -// RCS-ID: $Id$ // Copyright: (c) Julian Smart // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -294,7 +293,7 @@ void wxComboBoxCallback (Widget WXUNUSED(w), XtPointer clientData, case XmCR_BROWSE_SELECT: #endif { - wxCommandEvent event (wxEVT_COMMAND_COMBOBOX_SELECTED, + wxCommandEvent event (wxEVT_COMBOBOX, item->GetId()); int idx = cbs->item_position; event.SetInt(idx); @@ -310,7 +309,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);