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:
@@ -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) );
|
||||||
|
@@ -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();
|
||||||
|
Reference in New Issue
Block a user