#include "wx/os2/private.h"
-IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControl)
+IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems)
bool wxChoice::Create(
wxWindow* pParent
LONG nIndexType = 0;
void* pData;
- if ( m_clientDataItemsType != wxClientData_None )
+ if ( HasClientData() )
{
pData = DoGetItemClientData(n);
}