]> git.saurik.com Git - wxWidgets.git/commitdiff
Allow compiling when _WIN32_IE < 0x300
authorMattia Barbon <mbarbon@cpan.org>
Tue, 2 Jul 2002 17:11:19 +0000 (17:11 +0000)
committerMattia Barbon <mbarbon@cpan.org>
Tue, 2 Jul 2002 17:11:19 +0000 (17:11 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/listctrl.cpp

index 93187c0e42d348d5d73a6de213f4a61da58e8fb6..78c257665e9d653e8675bdc4a91ac7a4bc84ed11 100644 (file)
@@ -619,10 +619,12 @@ bool wxListCtrl::GetColumn(int col, wxListItem& item) const
             item.m_format = wxLIST_FORMAT_CENTRE;
     }
 
+#if _WIN32_IE >= 0x0300
     if ( item.m_mask & wxLIST_MASK_IMAGE )
     {
         item.m_image = lvCol.iImage;
     }
+#endif
 
     return success;
 }