Fixed non-recognition of wxLIST_MASK_IMAGE flags.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2000-09-08 15:49:14 +00:00
parent 84bfc0d503
commit 2189c64415

View File

@ -603,6 +603,9 @@ bool wxListCtrl::GetItem(wxListItem& info) const
if (info.m_mask & wxLIST_MASK_DATA) if (info.m_mask & wxLIST_MASK_DATA)
lvItem.mask |= LVIF_PARAM; lvItem.mask |= LVIF_PARAM;
if (info.m_mask & wxLIST_MASK_IMAGE)
lvItem.mask |= LVIF_IMAGE;
if ( info.m_mask & wxLIST_MASK_STATE ) if ( info.m_mask & wxLIST_MASK_STATE )
{ {
lvItem.mask |= LVIF_STATE; lvItem.mask |= LVIF_STATE;