]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed compilation error (patch #1827541).
authorStefan Neis <Stefan.Neis@t-online.de>
Wed, 7 Nov 2007 22:32:40 +0000 (22:32 +0000)
committerStefan Neis <Stefan.Neis@t-online.de>
Wed, 7 Nov 2007 22:32:40 +0000 (22:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/os2/choice.cpp

index 18650fc4f86de3f991a228a9f9461cc241c51d87..9f0360a9fcbb2a59d24436fd34d300effd6ff461 100644 (file)
@@ -207,7 +207,7 @@ void wxChoice::SetString(unsigned int n, const wxString& rsStr)
     LONG  nIndexType = 0;
     void* pData;
 
     LONG  nIndexType = 0;
     void* pData;
 
-    if ( m_clientDataItemsType != wxClientData_None )
+    if ( HasClientData() )
     {
         pData = DoGetItemClientData(n);
     }
     {
         pData = DoGetItemClientData(n);
     }