tuikit/events.py
changeset 46 2b43a7f38c34
parent 45 43b2279b06e1
child 55 1ab0edd5d784
--- a/tuikit/events.py	Fri Jan 04 00:13:59 2013 +0100
+++ b/tuikit/events.py	Sat Jan 05 00:37:11 2013 +0100
@@ -22,7 +22,7 @@
 
 class DrawEvent(Event):
     def __init__(self, driver, x, y):
-        super().__init__()
+        Event.__init__(self)
         self.driver = driver
         self.x = x
         self.y = y
@@ -33,7 +33,7 @@
 
 class FocusEvent(Event):
     def __init__(self, old=None, new=None):
-        super().__init__()
+        Event.__init__(self)
         #: Former focused widget.
         self.old = old
         #: Current focused widget.
@@ -45,7 +45,7 @@
 
 class KeyboardEvent(Event):
     def __init__(self, keyname, char):
-        super().__init__()
+        Event.__init__(self)
         self.keyname = keyname
         self.char = char
 
@@ -55,7 +55,7 @@
 
 class MouseEvent(Event):
     def __init__(self, x=0, y=0, button=0):
-        super().__init__()
+        Event.__init__(self)
         self.x = x   # global coordinates
         self.y = y
         self.wx = x  # local widget coordinates