From: Mattia Barbon Date: Tue, 2 Jul 2002 17:11:19 +0000 (+0000) Subject: Allow compiling when _WIN32_IE < 0x300 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8ac67aa10207821a237a18da17f5d25f57f1e9ff?hp=3115ef3e56082b961af85a06955b50ddf0c5738a Allow compiling when _WIN32_IE < 0x300 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/listctrl.cpp b/src/msw/listctrl.cpp index 93187c0e42..78c257665e 100644 --- a/src/msw/listctrl.cpp +++ b/src/msw/listctrl.cpp @@ -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; }