- def __init__(self,arg0,*args) :
- argl = map(None,args)
- try: argl[1] = argl[1].this
- except: pass
- try: argl[2] = argl[2].this
- except: pass
- args = tuple(argl)
- self.this = apply(controlsc.new_wxScrollBar,(arg0.this,)+args)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxScrollBar,_args,_kwargs)
+ self.thisown = 1
+ wx._StdWindowCallbacks(self)
+
+
+
+
+class wxSpinButtonPtr(wxControlPtr):
+ def __init__(self,this):
+ self.this = this
+ self.thisown = 0
+ def GetMax(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinButton_GetMax,(self,) + _args, _kwargs)
+ return val
+ def GetMin(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinButton_GetMin,(self,) + _args, _kwargs)
+ return val
+ def GetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinButton_GetValue,(self,) + _args, _kwargs)
+ return val
+ def SetRange(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinButton_SetRange,(self,) + _args, _kwargs)
+ return val
+ def SetValue(self, *_args, **_kwargs):
+ val = apply(controlsc.wxSpinButton_SetValue,(self,) + _args, _kwargs)
+ return val
+ def __repr__(self):
+ return "<C wxSpinButton instance at %s>" % (self.this,)
+class wxSpinButton(wxSpinButtonPtr):
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(controlsc.new_wxSpinButton,_args,_kwargs)