X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1294ada8e87725409f290328da02306e5c8f4eb..2ec335db7806c058a02d022d2f75b4144ce69d2a:/src/os2/choice.cpp diff --git a/src/os2/choice.cpp b/src/os2/choice.cpp index 18650fc4f8..9f0360a9fc 100644 --- a/src/os2/choice.cpp +++ b/src/os2/choice.cpp @@ -207,7 +207,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); }