From d9a012add937ef05c767c8e3a02f354123acae3b Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 23 Oct 1999 04:27:52 +0000 Subject: [PATCH] Apparent typo fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listbox.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/listbox.cpp b/src/msw/listbox.cpp index 06aae2979a..4eb467f503 100644 --- a/src/msw/listbox.cpp +++ b/src/msw/listbox.cpp @@ -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]);