X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d29aba2ff72e12d2451ae23aa80c5a3e0e039e74..29e60597389f16f9744a74bd4549b17d2e1dc34f:/utils/wxPython/src/gtk/controls2.py diff --git a/utils/wxPython/src/gtk/controls2.py b/utils/wxPython/src/gtk/controls2.py index fec716a3a1..6ad7ab15c8 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): @@ -569,6 +569,15 @@ class wxTreeCtrlPtr(wxControlPtr): val = apply(controls2c.wxTreeCtrl_HitTest,(self,) + _args, _kwargs) if val: val = wxTreeItemIdPtr(val) ; val.thisown = 1 return val + def SetItemTextColour(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_SetItemTextColour,(self,) + _args, _kwargs) + return val + def SetItemBackgroundColour(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_SetItemBackgroundColour,(self,) + _args, _kwargs) + return val + def SetItemFont(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_SetItemFont,(self,) + _args, _kwargs) + return val def __repr__(self): return "" % (self.this,)