X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cb72bf824f8fdc2f0738d23379896f594d3189..486a0fa75f8ae4ef12968ef0eee8b54b066d11af:/src/os2/combobox.cpp diff --git a/src/os2/combobox.cpp b/src/os2/combobox.cpp index 8900b0ef18..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(); @@ -140,7 +137,7 @@ bool wxComboBox::Create( lSstyle |= CBS_DROPDOWN; - if (!OS2CreateControl( _T("COMBOBOX") + if (!OS2CreateControl( wxT("COMBOBOX") ,lSstyle )) return false;