From dccde0c02375a5f07df76bda78a544f3d0b0fb72 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 14 Jul 2001 21:18:23 +0000 Subject: [PATCH] bug fix to the recent wxConvertFromMSW change git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/listctrl.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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) -- 2.50.0