]> git.saurik.com Git - wxWidgets.git/commitdiff
Apparent typo fix
authorRobin Dunn <robin@alldunn.com>
Sat, 23 Oct 1999 04:27:52 +0000 (04:27 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 23 Oct 1999 04:27:52 +0000 (04:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listbox.cpp

index 06aae2979a05810c7a1bf13b0de80605caeabab3..4eb467f5036a21bf5e61e5c0fd88ef0be31ea135 100644 (file)
@@ -310,7 +310,7 @@ void wxListBox::DoSetItems(const wxArrayString& choices, void** clientData)
         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]);