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:
@@ -4824,19 +4824,8 @@ bool wxGenericListCtrl::SetItemState( long item, long state, long stateMask )
|
||||
return true;
|
||||
}
|
||||
|
||||
#if WXWIN_COMPATIBILITY_2_4
|
||||
bool wxGenericListCtrl::SetItemImage( long item, int image, int WXUNUSED(selImage) )
|
||||
{
|
||||
wxListItem info;
|
||||
info.m_image = image;
|
||||
info.m_mask = wxLIST_MASK_IMAGE;
|
||||
info.m_itemId = item;
|
||||
m_mainWin->SetItem( info );
|
||||
return true;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool wxGenericListCtrl::SetItemImage( long item, int image )
|
||||
bool
|
||||
wxGenericListCtrl::SetItemImage( long item, int image, int WXUNUSED(selImage) )
|
||||
{
|
||||
wxListItem info;
|
||||
info.m_image = image;
|
||||
|
Reference in New Issue
Block a user