More for wxPython 2.0b9 (hopefully the last...)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2325 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
1999-05-02 02:06:43 +00:00
parent 53920141b5
commit c127177f8d
31 changed files with 456 additions and 276 deletions

View File

@@ -612,6 +612,19 @@ class wxTreeCtrlPtr(wxControlPtr):
return val
def __repr__(self):
return "<C wxTreeCtrl instance>"
# Redefine a couple methods that SWIG gets a bit confused on...
def GetFirstChild(self,arg0,arg1):
val1, val2 = controls2c.wxTreeCtrl_GetFirstChild(self.this,arg0.this,arg1)
val1 = wxTreeItemIdPtr(val1)
val1.thisown = 1
return (val1,val2)
def GetNextChild(self,arg0,arg1):
val1, val2 = controls2c.wxTreeCtrl_GetFirstChild(self.this,arg0.this,arg1)
val1 = wxTreeItemIdPtr(val1)
val1.thisown = 1
return (val1,val2)
class wxTreeCtrl(wxTreeCtrlPtr):
def __init__(self,arg0,*args) :
argl = map(None,args)