from events import *
from controls import *
-import wxp
+import wx
class wxListItemPtr :
def __init__(self,this):
self.this = this
args = tuple(argl)
self.this = apply(controls2c.new_wxListCtrl,(arg0.this,arg1,)+args)
self.thisown = 1
- wxp._StdWindowCallbacks(self)
+ wx._StdWindowCallbacks(self)
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 "<C wxTreeItemId instance>"
class wxTreeItemId(wxTreeItemIdPtr):
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 "<C wxTreeItemData instance>"
class wxTreeItemData(wxTreeItemDataPtr):
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)
+ def SetItemBold(self,arg0,*args):
+ val = apply(controls2c.wxTreeCtrl_SetItemBold,(self.this,arg0.this,)+args)
+ return val
+ def IsBold(self,arg0):
+ val = controls2c.wxTreeCtrl_IsBold(self.this,arg0.this)
+ return val
+ def HitTest(self,arg0):
+ val = controls2c.wxTreeCtrl_HitTest(self.this,arg0.this)
+ val = wxTreeItemIdPtr(val)
+ val.thisown = 1
return val
def __repr__(self):
return "<C wxTreeCtrl instance>"
args = tuple(argl)
self.this = apply(controls2c.new_wxTreeCtrl,(arg0.this,)+args)
self.thisown = 1
- wxp._StdWindowCallbacks(self)
+ wx._StdWindowCallbacks(self)