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);