bug fix to the recent wxConvertFromMSW change

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11056 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-07-14 21:18:23 +00:00
parent 8dff2b5cf8
commit dccde0c023

View File

@ -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)