def __init__(self,this):
self.this = this
self.thisown = 0
- def SetTip(self,arg0):
- val = misc2c.wxToolTip_SetTip(self.this,arg0)
+ def SetTip(self, *_args, **_kwargs):
+ val = apply(misc2c.wxToolTip_SetTip,(self,) + _args, _kwargs)
return val
- def GetTip(self):
- val = misc2c.wxToolTip_GetTip(self.this)
+ def GetTip(self, *_args, **_kwargs):
+ val = apply(misc2c.wxToolTip_GetTip,(self,) + _args, _kwargs)
return val
- def GetWindow(self):
- val = misc2c.wxToolTip_GetWindow(self.this)
- val = wxWindowPtr(val)
+ def GetWindow(self, *_args, **_kwargs):
+ val = apply(misc2c.wxToolTip_GetWindow,(self,) + _args, _kwargs)
+ if val: val = wxWindowPtr(val)
return val
def __repr__(self):
- return "<C wxToolTip instance>"
+ return "<C wxToolTip instance at %s>" % (self.this,)
class wxToolTip(wxToolTipPtr):
- def __init__(self,arg0) :
- self.this = misc2c.new_wxToolTip(arg0)
+ def __init__(self,*_args,**_kwargs):
+ self.this = apply(misc2c.new_wxToolTip,_args,_kwargs)
self.thisown = 1
#-------------- FUNCTION WRAPPERS ------------------
-def wxFindWindowByLabel(arg0,*args):
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- val = apply(misc2c.wxFindWindowByLabel,(arg0,)+args)
- val = wxWindowPtr(val)
+def wxFindWindowByLabel(*_args, **_kwargs):
+ val = apply(misc2c.wxFindWindowByLabel,_args,_kwargs)
+ if val: val = wxWindowPtr(val)
return val
-def wxFindWindowByName(arg0,*args):
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- val = apply(misc2c.wxFindWindowByName,(arg0,)+args)
- val = wxWindowPtr(val)
+def wxFindWindowByName(*_args, **_kwargs):
+ val = apply(misc2c.wxFindWindowByName,_args,_kwargs)
+ if val: val = wxWindowPtr(val)
return val
wxToolTip_Enable = misc2c.wxToolTip_Enable