X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8dff2b5cf82c80908cf98763c4a7cacc70e258f3..acc0ebd7a871124d4d6b36069340227e6c584f38:/src/msw/listctrl.cpp 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)