From: Vadim Zeitlin Date: Sat, 14 Jul 2001 21:18:23 +0000 (+0000) Subject: bug fix to the recent wxConvertFromMSW change X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dccde0c02375a5f07df76bda78a544f3d0b0fb72 bug fix to the recent wxConvertFromMSW change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index b1f4aa0408..73a2997bea 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -669,7 +669,8 @@ bool wxListCtrl::GetItem(wxListItem& info) const } else { - wxConvertFromMSWListItem(GetHwnd(), info, lvItem); + // give NULL as hwnd as we already have everything we need + wxConvertFromMSWListItem(NULL, info, lvItem); } if (lvItem.pszText)