From 133a84d28191f7e3daaa75205480ced0a26e3ad5 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 31 Dec 2002 22:08:41 +0000 Subject: [PATCH] Use GetItemParent dorectly instead of renaming the now deprecated GetParent git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@18470 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- wxPython/src/controls2.i | 2 +- wxPython/src/gtk/controls2.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wxPython/src/controls2.i b/wxPython/src/controls2.i index 16982bc0c0..61b0e8509a 100644 --- a/wxPython/src/controls2.i +++ b/wxPython/src/controls2.i @@ -1233,7 +1233,7 @@ public: wxTreeItemId GetRootItem(); wxTreeItemId GetSelection(); - %name(GetItemParent) wxTreeItemId GetParent(const wxTreeItemId& item); + wxTreeItemId GetItemParent(const wxTreeItemId& item); //size_t GetSelections(wxArrayTreeItemIds& selection); %addmethods { PyObject* GetSelections() { diff --git a/wxPython/src/gtk/controls2.cpp b/wxPython/src/gtk/controls2.cpp index 3b8eb08aa5..16e2451df5 100644 --- a/wxPython/src/gtk/controls2.cpp +++ b/wxPython/src/gtk/controls2.cpp @@ -7714,7 +7714,7 @@ static PyObject *_wrap_wxTreeCtrl_GetSelection(PyObject *self, PyObject *args, P return _resultobj; } -#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetParent(_swigarg0)) +#define wxTreeCtrl_GetItemParent(_swigobj,_swigarg0) (_swigobj->GetItemParent(_swigarg0)) static PyObject *_wrap_wxTreeCtrl_GetItemParent(PyObject *self, PyObject *args, PyObject *kwargs) { PyObject * _resultobj; wxTreeItemId * _result;