X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..76e7cfab8fdb0c7862fd07e427af54181717fc62:/src/os2/combobox.cpp?ds=inline diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index 002ea2015c..9cf412cb15 100644 --- a/src/os2/combobox.cpp +++ b/src/os2/combobox.cpp @@ -4,7 +4,6 @@ // Author: David Webster // Modified by: // Created: 10/13/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -35,8 +34,6 @@ MRESULT EXPENTRY wxComboEditWndProc( HWND hWnd // static WXFARPROC gfnWndprocEdit = (WXFARPROC)NULL; -IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl) - bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) ) { long lSel = GetSelection(); @@ -47,7 +44,7 @@ bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) ) case CBN_LBSELECT: if (lSel > -1) { - wxCommandEvent vEvent( wxEVT_COMMAND_COMBOBOX_SELECTED, GetId() ); + wxCommandEvent vEvent( wxEVT_COMBOBOX, GetId() ); vEvent.SetInt(lSel); vEvent.SetEventObject(this); @@ -59,7 +56,7 @@ bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) ) case CBN_EFCHANGE: { - wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED, GetId() ); + wxCommandEvent vEvent( wxEVT_TEXT, GetId() ); if (lSel == -1L) sValue = GetValue();