def __init__(self, keyEventType=wx.EVT_NULL):
        '''
        Constructs a wx.KeyEvent.
        '''
        theClass = 'KeyEvent'

        wx.RegisterFirstCallerClassName(self, theClass)

        Event.__init__(self)
        KeyboardState.__init__(self)

        self.tsBeginClassRegistration(theClass, wx.ID_ANY)

        self.ts_keyEventType = keyEventType
 
        self.ts_keyCode = 0
        self.ts_rawKeyCode = 0
        self.ts_rawKeyFlags = 0
        self.ts_unicodeKey = 0
        self.ts_x = 0
        self.ts_y = 0
 
##        self.thisown = theClass

        self.tsEndClassRegistration(theClass)
    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)