From: Chris Elliott Date: Fri, 28 Oct 2005 14:05:49 +0000 (+0000) Subject: remove GetImageList(int) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/bb0d2f03799ab820de5dce791a17e66089247097 remove GetImageList(int) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@36030 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index d671445587..8fc4f90d27 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -192,8 +192,7 @@ public: wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) ); // use Set/GetImageList and Set/GetStateImageList -// This appears to hide base class GetImageList() -// wxDEPRECATED( wxImageList *GetImageList(int) const ); + // Use base class GetImageList() wxDEPRECATED( void SetImageList(wxImageList *imageList, int) ); // use Set/GetItemImage directly diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index 0394ff22e9..e0a4d592b3 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -1678,13 +1678,6 @@ 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) { SetImageList(imageList);