X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cd2df130f8162dc2cf9794c1507cd4bddce53910..5f4987fed4dc52a35f0ddd649ae1cf9e75bb92d3:/src/msw/listctrl.cpp diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 99168339d9..ef8ee7abc9 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -482,6 +482,9 @@ bool wxListCtrl::GetItem(wxListItem& info) const lvItem.pszText = NULL; } + if (info.m_mask & wxLIST_MASK_DATA) + lvItem.mask |= LVIF_PARAM ; + if ( info.m_mask & wxLIST_MASK_STATE ) { lvItem.mask |= LVIF_STATE;