+ def __init__(self, parent, element, refElem=None):
+ # For GridBag sizer items, extra parameters added
+ if isinstance(parent, xxxGridBagSizer):
+ self.allParams = self.allParams + ['cellpos', 'cellspan']
+ xxxObject.__init__(self, parent, element, refElem)