removed deprecated InsertItem() overload because it masked all the other ones

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35881 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-10-10 21:46:24 +00:00
parent 642446e3bf
commit 4c2a39bec1
2 changed files with 0 additions and 24 deletions

View File

@@ -147,11 +147,6 @@ public:
virtual wxTreeItemId AddRoot(const wxString& text, virtual wxTreeItemId AddRoot(const wxString& text,
int image = -1, int selectedImage = -1, int image = -1, int selectedImage = -1,
wxTreeItemData *data = NULL); wxTreeItemData *data = NULL);
virtual wxTreeItemId InsertItem(const wxTreeItemId& parent,
const wxTreeItemId& idPrevious,
const wxString& text,
int image = -1, int selectedImage = -1,
wxTreeItemData *data = NULL);
virtual void Delete(const wxTreeItemId& item); virtual void Delete(const wxTreeItemId& item);
virtual void DeleteChildren(const wxTreeItemId& item); virtual void DeleteChildren(const wxTreeItemId& item);
@@ -196,12 +191,6 @@ public:
// use Expand, Collapse, CollapseAndReset or Toggle // use Expand, Collapse, CollapseAndReset or Toggle
wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) ); wxDEPRECATED( void ExpandItem(const wxTreeItemId& item, int action) );
// use AddRoot, PrependItem or AppendItem
wxDEPRECATED( wxTreeItemId InsertItem(const wxTreeItemId& parent,
const wxString& text,
int image = -1, int selImage = -1,
long insertAfter = wxTREE_INSERT_LAST) );
// use Set/GetImageList and Set/GetStateImageList // use Set/GetImageList and Set/GetStateImageList
wxDEPRECATED( wxImageList *GetImageList(int) const ); wxDEPRECATED( wxImageList *GetImageList(int) const );
wxDEPRECATED( void SetImageList(wxImageList *imageList, int) ); wxDEPRECATED( void SetImageList(wxImageList *imageList, int) );

View File

@@ -1678,19 +1678,6 @@ wxTreeItemId wxTreeCtrl::DoInsertAfter(const wxTreeItemId& parent,
// for compatibility only // for compatibility only
#if WXWIN_COMPATIBILITY_2_4 #if WXWIN_COMPATIBILITY_2_4
wxTreeItemId wxTreeCtrl::InsertItem(const wxTreeItemId& parent,
const wxString& text,
int image, int selImage,
long insertAfter)
{
return DoInsertAfter(parent,
wxTreeItemId(wxUIntToPtr(insertAfter)),
text,
image,
selImage,
NULL);
}
wxImageList *wxTreeCtrl::GetImageList(int) const wxImageList *wxTreeCtrl::GetImageList(int) const
{ {
return wxTreeCtrlBase::GetImageList(); return wxTreeCtrlBase::GetImageList();