def __init__(self, *args, **kwargs): self.keys = kwargs.pop('keys', []) wx.ListBox.__init__(self, *args, **kwargs)