+
+
+
+def wxPreCheckListBox(*_args,**_kwargs):
+ val = wxCheckListBoxPtr(apply(controlsc.new_wxPreCheckListBox,_args,_kwargs))
+ val.thisown = 1
+ return val
+
+
+class wxTextAttrPtr :
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def __del__(self,controlsc=controlsc):
+ if self.thisown == 1 :
+ controlsc.delete_wxTextAttr(self)
+ def SetTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetTextColour,(self,) + _args, _kwargs)
+ return val
+ def SetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def SetFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_SetFont,(self,) + _args, _kwargs)
+ return val
+ def HasTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasTextColour,(self,) + _args, _kwargs)
+ return val
+ def HasBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasBackgroundColour,(self,) + _args, _kwargs)
+ return val
+ def HasFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_HasFont,(self,) + _args, _kwargs)
+ return val
+ def GetTextColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetTextColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
+ return val
+ def GetBackgroundColour(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetBackgroundColour,(self,) + _args, _kwargs)
+ if val: val = wxColourPtr(val)
+ return val
+ def GetFont(self, *_args, **_kwargs):
+ val = apply(controlsc.wxTextAttr_GetFont,(self,) + _args, _kwargs)
+ if val: val = wxFontPtr(val)
+ return val
+ def __repr__(self):
+ return "<C wxTextAttr instance at %s>" % (self.this,)
+class wxTextAttr(wxTextAttrPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxTextAttr,_args,_kwargs)
+ self.thisown = 1