Applied Patch #1424869: Implement wxListCtrl::SetItemColumnImage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37982 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-03-10 21:26:59 +00:00
parent b4deaacba3
commit 06db67bcb0
14 changed files with 69 additions and 5 deletions

View File

@@ -1543,14 +1543,24 @@ bool wxListCtrl::SetItemImage (
long lItem
, int nImage
, int WXUNUSED(nSelImage))
{
return SetItemColumnInfo(lItem, 0, nImage);
} // end of wxListCtrl::SetItemImage
// Sets the item image
bool wxListCtrl::SetItemColumnImage (
long lItem
, long lColumn
, int nImage
{
wxListItem vInfo;
vInfo.m_mask = wxLIST_MASK_IMAGE;
vInfo.m_image = nImage;
vInfo.m_itemId = lItem;
vInfo.m_col = lColumn;
return SetItem(vInfo);
} // end of wxListCtrl::SetItemImage
} // end of wxListCtrl::SetItemColumnImage
// Gets the item text
wxString wxListCtrl::GetItemText (