- def Insert(self, *args):
- if type(args[0]) == type(1):
- apply(self.InsertSpacer, args)
- elif string.find(args[0].this, 'Sizer') != -1:
- apply(self.InsertSizer, args)
+ def Insert(self, *args, **kw):
+ if type(args[1]) == type(1):
+ apply(self.InsertSpacer, args, kw)
+ elif string.find(args[1].this, 'Sizer') != -1:
+ apply(self.InsertSizer, args, kw)