avoid hidden GetImageList

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Chris Elliott
2005-10-26 20:09:10 +00:00
parent dd9ea234f2
commit 3f93a7508e
2 changed files with 4 additions and 1 deletions

View File

@@ -192,7 +192,8 @@ public:
wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) );
// use Set/GetImageList and Set/GetStateImageList
wxDEPRECATED( wxImageList *GetImageList(int) const );
// This appears to hide base class GetImageList()
// wxDEPRECATED( wxImageList *GetImageList(int) const );
wxDEPRECATED( void SetImageList(wxImageList *imageList, int) );
// use Set/GetItemImage directly

View File

@@ -1678,10 +1678,12 @@ wxTreeItemId wxTreeCtrl::DoInsertAfter(const wxTreeItemId& parent,
// for compatibility only
#if WXWIN_COMPATIBILITY_2_4
/* This appears to hide base class GetImageList()
wxImageList *wxTreeCtrl::GetImageList(int) const
{
return wxTreeCtrlBase::GetImageList();
}
*/
void wxTreeCtrl::SetImageList(wxImageList *imageList, int)
{