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:
@@ -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 (
|
||||
|
Reference in New Issue
Block a user