X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1294ada8e87725409f290328da02306e5c8f4eb..4d604ad39743adc74dbac76ef23f4bab21006a51:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index 18650fc4f8..1804a62b24 100644 --- a/src/os2/choice.cpp +++ b/src/os2/choice.cpp @@ -24,8 +24,6 @@ #include "wx/os2/private.h" -IMPLEMENT_DYNAMIC_CLASS(wxChoice, wxControlWithItems) - bool wxChoice::Create( wxWindow* pParent , wxWindowID vId @@ -207,7 +205,7 @@ void wxChoice::SetString(unsigned int n, const wxString& rsStr) LONG nIndexType = 0; void* pData; - if ( m_clientDataItemsType != wxClientData_None ) + if ( HasClientData() ) { pData = DoGetItemClientData(n); }