// Author: David Webster
// Modified by:
// Created: 10/13/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
//
static WXFARPROC gfnWndprocEdit = (WXFARPROC)NULL;
-IMPLEMENT_DYNAMIC_CLASS(wxComboBox, wxControl)
-
bool wxComboBox::OS2Command( WXUINT uParam, WXWORD WXUNUSED(wId) )
{
long lSel = GetSelection();
case CBN_LBSELECT:
if (lSel > -1)
{
- wxCommandEvent vEvent( wxEVT_COMMAND_COMBOBOX_SELECTED, GetId() );
+ wxCommandEvent vEvent( wxEVT_COMBOBOX, GetId() );
vEvent.SetInt(lSel);
vEvent.SetEventObject(this);
case CBN_EFCHANGE:
{
- wxCommandEvent vEvent( wxEVT_COMMAND_TEXT_UPDATED, GetId() );
+ wxCommandEvent vEvent( wxEVT_TEXT, GetId() );
if (lSel == -1L)
sValue = GetValue();