def __init__(self,this):
self.this = this
self.thisown = 0
+ def CreateControl(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControl_CreateControl,(self,) + _args, _kwargs)
+ return val
+ def Command(self, *_args, **_kwargs):
+ val = apply(controlsc.wxControl_Command,(self,) + _args, _kwargs)
+ return val
def GetLabel(self, *_args, **_kwargs):
val = apply(controlsc.wxControl_GetLabel,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxControl instance at %s>" % (self.this,)
class wxControl(wxControlPtr):
- def __init__(self,this):
- self.this = this
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxControl,_args,_kwargs)
+ self.thisown = 1
+ wx._StdWindowCallbacks(self)
#-------------- FUNCTION WRAPPERS ------------------
+def wxButton_GetDefaultSize(*_args, **_kwargs):
+ val = apply(controlsc.wxButton_GetDefaultSize,_args,_kwargs)
+ if val: val = wxSizePtr(val); val.thisown = 1
+ return val
+
#-------------- VARIABLE WRAPPERS ------------------