- def __init__(self,arg0,arg1,*args) :
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- try: argl[1] = argl[1].this
- except: pass
- args = tuple(argl)
- self.this = apply(controlsc.new_wxListBox,(arg0.this,arg1,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxListBox,_args,_kwargs)
+ self.thisown = 1
+ wx._StdWindowCallbacks(self)
+
+
+
+
+class wxCheckListBoxPtr(wxListBoxPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def IsChecked(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckListBox_IsChecked,(self,) + _args, _kwargs)
+ return val
+ def Check(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckListBox_Check,(self,) + _args, _kwargs)
+ return val
+ def GetItemHeight(self, *_args, **_kwargs):
+ val = apply(controlsc.wxCheckListBox_GetItemHeight,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxCheckListBox instance at %s>" % (self.this,)
+class wxCheckListBox(wxCheckListBoxPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxCheckListBox,_args,_kwargs)