def __init__(self, winid=0, show=False): theClass = 'ShowEvent' wx.RegisterFirstCallerClassName(self, theClass) Event.__init__(self) self.ts_winid = winid self.ts_show = show self.tsEndClassRegistration(theClass)
def __init__(self, type=EVT_NULL, winid=0): ''' Constructor. Create a wx.FocusEvent object. ''' theClass = 'FocusEvent' wx.RegisterFirstCallerClassName(self, theClass) Event.__init__(self) self.tsBeginClassRegistration(theClass, id) self.Window = None ## self.thisown = theClass self.tsEndClassRegistration(theClass)
def __init__(self, Id=wx.ID_ANY, dc=None): ''' Constructs a wx.EraseEvent. ''' theClass = 'EraseEvent' wx.RegisterFirstCallerClassName(self, theClass) Event.__init__(self) self.tsBeginClassRegistration(theClass, Id) self.ts_DC = dc ## self.thisown = theClass self.tsEndClassRegistration(theClass)