X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a236aa2058ccf3d36e9cafc20fa7375080c4be50..1e9b3eff21f80eb00f3c5639e0ac9a02f816c9a1:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index e91486c6d7..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, wxControl) - 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); }