Fixed compilation error (patch #1827541).

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49721 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Neis 2007-11-07 22:32:40 +00:00
parent f2b29c643f
commit 37f68a7945

View File

@ -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);
}