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:
@@ -918,12 +918,19 @@ bool wxListCtrl::SetItemState(long item, long state, long stateMask)
|
||||
|
||||
// Sets the item image
|
||||
bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage))
|
||||
{
|
||||
return SetItemColumnImage(item, 0, image);
|
||||
}
|
||||
|
||||
// Sets the item image
|
||||
bool wxListCtrl::SetItemColumnImage(long item, long column, int image)
|
||||
{
|
||||
wxListItem info;
|
||||
|
||||
info.m_mask = wxLIST_MASK_IMAGE;
|
||||
info.m_image = image;
|
||||
info.m_itemId = item;
|
||||
info.m_col = column;
|
||||
|
||||
return SetItem(info);
|
||||
}
|
||||
|
Reference in New Issue
Block a user