X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d5c9047acf66ae7ee2aed4778832b6887095ce7a..5fc5e442f39e37b9672e5c119954bde48228e9fe:/utils/wxPython/src/msw/controls2.py?ds=sidebyside diff --git a/utils/wxPython/src/msw/controls2.py b/utils/wxPython/src/msw/controls2.py index effb646046..5ccdc674b9 100644 --- a/utils/wxPython/src/msw/controls2.py +++ b/utils/wxPython/src/msw/controls2.py @@ -328,9 +328,6 @@ class wxTreeItemIdPtr : def IsOk(self): val = controls2c.wxTreeItemId_IsOk(self.this) return val - def GetId(self): - val = controls2c.wxTreeItemId_GetId(self.this) - return val def __repr__(self): return "" class wxTreeItemId(wxTreeItemIdPtr): @@ -348,10 +345,13 @@ class wxTreeItemDataPtr : def __del__(self): if self.thisown == 1 : controls2c.delete_wxTreeItemData(self.this) - def GetItemId(self): - val = controls2c.wxTreeItemData_GetItemId(self.this) + def GetId(self): + val = controls2c.wxTreeItemData_GetId(self.this) val = wxTreeItemIdPtr(val) return val + def SetId(self,arg0): + val = controls2c.wxTreeItemData_SetId(self.this,arg0.this) + return val def __repr__(self): return "" class wxTreeItemData(wxTreeItemDataPtr): @@ -581,9 +581,6 @@ class wxTreeCtrlPtr(wxControlPtr): def EndEditLabel(self,arg0,*args): val = apply(controls2c.wxTreeCtrl_EndEditLabel,(self.this,arg0.this,)+args) return val - def SortChildren(self,arg0): - val = controls2c.wxTreeCtrl_SortChildren(self.this,arg0.this) - return val def __repr__(self): return "" class wxTreeCtrl(wxTreeCtrlPtr):