diff --git a/include/wx/msw/treectrl.h b/include/wx/msw/treectrl.h index b19b5ba4f6..d671445587 100644 --- a/include/wx/msw/treectrl.h +++ b/include/wx/msw/treectrl.h @@ -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 diff --git a/src/msw/treectrl.cpp b/src/msw/treectrl.cpp index cd3942ed1c..0394ff22e9 100644 --- a/src/msw/treectrl.cpp +++ b/src/msw/treectrl.cpp @@ -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) {