- def AddTool(self,arg0,arg1,*args):
- argl = map(None,args)
- try: argl[0] = argl[0].this
- except: pass
- args = tuple(argl)
- val = apply(stattoolc.wxToolBar_AddTool,(self.this,arg0,arg1.this,)+args)
- val = wxToolBarToolPtr(val)
+ def AddTool(self, *_args, **_kwargs):
+ val = apply(stattoolc.wxToolBar_AddTool,(self,) + _args, _kwargs)
+ if val: val = wxToolBarToolPtr(val)