X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9cce9de16f93d260e9089bda724e9cf2e3b36b26..afc94fa6b43722d604017798a767fa84ef883b47:/utils/wxPython/src/gtk/controls2.py diff --git a/utils/wxPython/src/gtk/controls2.py b/utils/wxPython/src/gtk/controls2.py index 3db2c25040..0e9ec989e5 100644 --- a/utils/wxPython/src/gtk/controls2.py +++ b/utils/wxPython/src/gtk/controls2.py @@ -7,6 +7,8 @@ from windows import * from gdi import * +from clip_dnd import * + from events import * from controls import * @@ -399,6 +401,12 @@ class wxTreeCtrlPtr(wxControlPtr): def SetStateImageList(self, *_args, **_kwargs): val = apply(controls2c.wxTreeCtrl_SetStateImageList,(self,) + _args, _kwargs) return val + def GetSpacing(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_GetSpacing,(self,) + _args, _kwargs) + return val + def SetSpacing(self, *_args, **_kwargs): + val = apply(controls2c.wxTreeCtrl_SetSpacing,(self,) + _args, _kwargs) + return val def GetItemText(self, *_args, **_kwargs): val = apply(controls2c.wxTreeCtrl_GetItemText,(self,) + _args, _kwargs) return val @@ -453,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): @@ -636,3 +644,8 @@ wxLIST_FIND_UP = controls2c.wxLIST_FIND_UP wxLIST_FIND_DOWN = controls2c.wxLIST_FIND_DOWN wxLIST_FIND_LEFT = controls2c.wxLIST_FIND_LEFT wxLIST_FIND_RIGHT = controls2c.wxLIST_FIND_RIGHT +wxTreeItemIcon_Normal = controls2c.wxTreeItemIcon_Normal +wxTreeItemIcon_Selected = controls2c.wxTreeItemIcon_Selected +wxTreeItemIcon_Expanded = controls2c.wxTreeItemIcon_Expanded +wxTreeItemIcon_SelectedExpanded = controls2c.wxTreeItemIcon_SelectedExpanded +wxTreeItemIcon_Max = controls2c.wxTreeItemIcon_Max