Allow compiling when _WIN32_IE < 0x300
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16006 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -619,10 +619,12 @@ bool wxListCtrl::GetColumn(int col, wxListItem& item) const
|
|||||||
item.m_format = wxLIST_FORMAT_CENTRE;
|
item.m_format = wxLIST_FORMAT_CENTRE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if _WIN32_IE >= 0x0300
|
||||||
if ( item.m_mask & wxLIST_MASK_IMAGE )
|
if ( item.m_mask & wxLIST_MASK_IMAGE )
|
||||||
{
|
{
|
||||||
item.m_image = lvCol.iImage;
|
item.m_image = lvCol.iImage;
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
|
|
||||||
return success;
|
return success;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user