]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/listctrl.cpp
added wxTreeCtrl::AssignImageList
[wxWidgets.git] / src / msw / listctrl.cpp
index c785f4c16522e79692f1008812cbf5318c39ca00..4530fe2b4bab9e5e01ff334e449563b784a5630f 100644 (file)
@@ -40,8 +40,8 @@
 
 #include "wx/textctrl.h"
 #include "wx/imaglist.h"
-
 #include "wx/listctrl.h"
+#include "wx/dcclient.h"
 
 #include "wx/msw/private.h"
 
@@ -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;