]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed non-recognition of wxLIST_MASK_IMAGE flags.
authorJulian Smart <julian@anthemion.co.uk>
Fri, 8 Sep 2000 15:49:14 +0000 (15:49 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Fri, 8 Sep 2000 15:49:14 +0000 (15:49 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 5ab1cd69bcd70358e9f1c38c82c21e4b0f66a70c..4530fe2b4bab9e5e01ff334e449563b784a5630f 100644 (file)
@@ -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_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;
     if ( info.m_mask & wxLIST_MASK_STATE )
     {
         lvItem.mask |= LVIF_STATE;