don't deprecate SetItemImage() with 3 parameters; just add a default value for the last one

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29575 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2004-09-30 22:27:45 +00:00
parent e30fbc5234
commit aba3d35e7b
4 changed files with 4 additions and 34 deletions

View File

@@ -903,7 +903,6 @@ bool wxListCtrl::SetItemState(long item, long state, long stateMask)
}
// Sets the item image
#if WXWIN_COMPATIBILITY_2_4
bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage))
{
wxListItem info;
@@ -914,18 +913,6 @@ bool wxListCtrl::SetItemImage(long item, int image, int WXUNUSED(selImage))
return SetItem(info);
}
#endif
bool wxListCtrl::SetItemImage(long item, int image)
{
wxListItem info;
info.m_mask = wxLIST_MASK_IMAGE;
info.m_image = image;
info.m_itemId = item;
return SetItem(info);
}
// Gets the item text
wxString wxListCtrl::GetItemText(long item) const