]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/listbox.cpp
Added missing include
[wxWidgets.git] / src / os2 / listbox.cpp
index 334fd18f48bfff955857d7c7ef9f2ed13112f8ed..7d226adb3b4c5255dd01968276cd20bb650eadfd 100644 (file)
@@ -510,9 +510,9 @@ void wxListBox::SetString(unsigned int n, const wxString& rsString)
     void*          pOldData = NULL;
     wxClientData*  pOldObjData = NULL;
 
-    if (m_clientDataItemsType == wxClientData_Void)
+    if ( HasClientUntypedData() )
         pOldData = GetClientData(n);
-    else if (m_clientDataItemsType == wxClientData_Object)
+    else if ( HasClientObjectData() )
         pOldObjData = GetClientObject(n);
 
     //