// Author: David Webster
// Modified by:
// Created: 10/13/99
-// RCS-ID: $Id$
// Copyright: (c) David Webster
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
-
bool wxChoice::Create(
wxWindow* pParent
, wxWindowID vId
LONG nIndexType = 0;
void* pData;
- if ( m_clientDataItemsType != wxClientData_None )
+ if ( HasClientData() )
{
pData = DoGetItemClientData(n);
}
if (n > -1)
{
- wxCommandEvent vEvent( wxEVT_COMMAND_CHOICE_SELECTED
+ wxCommandEvent vEvent( wxEVT_CHOICE
,m_windowId
);