From 2189c64415fc4640c4cb571c98417e27934d3c71 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Fri, 8 Sep 2000 15:49:14 +0000 Subject: [PATCH] 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 --- src/msw/listctrl.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 5ab1cd69bc..4530fe2b4b 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -603,6 +603,9 @@ bool wxListCtrl::GetItem(wxListItem& info) const if (info.m_mask & wxLIST_MASK_DATA) lvItem.mask |= LVIF_PARAM; + if (info.m_mask & wxLIST_MASK_IMAGE) + lvItem.mask |= LVIF_IMAGE; + if ( info.m_mask & wxLIST_MASK_STATE ) { lvItem.mask |= LVIF_STATE;