]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
added wxTreeCtrl::AssignImageList
[wxWidgets.git] / 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_IMAGE)
+        lvItem.mask |= LVIF_IMAGE;
+
     if ( info.m_mask & wxLIST_MASK_STATE )
     {
         lvItem.mask |= LVIF_STATE;