X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d29aba2ff72e12d2451ae23aa80c5a3e0e039e74..afc94fa6b43722d604017798a767fa84ef883b47:/utils/wxPython/src/gtk/controls2.py diff --git a/utils/wxPython/src/gtk/controls2.py b/utils/wxPython/src/gtk/controls2.py index fec716a3a1..0e9ec989e5 100644 --- a/utils/wxPython/src/gtk/controls2.py +++ b/utils/wxPython/src/gtk/controls2.py @@ -461,8 +461,8 @@ class wxTreeCtrlPtr(wxControlPtr): val = apply(controls2c.wxTreeCtrl_GetSelection,(self,) + _args, _kwargs) if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 return val - def GetParent(self, *_args, **_kwargs): - val = apply(controls2c.wxTreeCtrl_GetParent,(self,) + _args, _kwargs) + def GetItemParent(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_GetItemParent,(self,) + _args, _kwargs) if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 return val def GetSelections(self, *_args, **_kwargs):