summaryrefslogtreecommitdiffstats
path: root/examples2/menu.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples2/menu.py')
-rwxr-xr-xexamples2/menu.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples2/menu.py b/examples2/menu.py
index 4b67156..28e5a88 100755
--- a/examples2/menu.py
+++ b/examples2/menu.py
@@ -133,7 +133,7 @@ p4_xpm = [
class MenuExample( TQWidget ):
def __init__( self, parent=None, name=None ):
- apply( TQWidget.__init__,(self, parent, name) )
+ TQWidget.__init__(*(self, parent, name))
self.p1 = TQIconSet( TQPixmap ( p1_xpm ) )
self.p2 = TQIconSet( TQPixmap ( p2_xpm ) )
self.p3 = TQIconSet( TQPixmap ( p3_xpm ) )