diff --git a/Chapter01/MyFirstBetterLookingApp.py b/Chapter01/MyFirstBetterLookingApp.py index 367db26..88898b1 100644 --- a/Chapter01/MyFirstBetterLookingApp.py +++ b/Chapter01/MyFirstBetterLookingApp.py @@ -17,7 +17,7 @@ class MyFrame(wx.Frame): # subclass of wx.Window; Frame is a top level window # A frame is a window whose size and position can (usually) be changed by the user. # Usually represents the first/main window a user will see - def __init__(self, parent, title, pos=pos): + def __init__(self, parent, title, pos): super().__init__(parent=parent, title=title, pos=pos) def OnInit(self):