git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4148
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if ( clientData )
{
#if wxUSE_OWNER_DRAWN
if ( clientData )
{
#if wxUSE_OWNER_DRAWN
- wxASSERT_MSG(clientData[ui] == NULL,
+ wxASSERT_MSG(clientData[i] == NULL,
wxT("Can't use client data with owner-drawn listboxes"));
#else // !wxUSE_OWNER_DRAWN
ListBox_SetItemData(GetHwnd(), i, clientData[i]);
wxT("Can't use client data with owner-drawn listboxes"));
#else // !wxUSE_OWNER_DRAWN
ListBox_SetItemData(GetHwnd(), i, clientData[i]);