From d26b7580519977b93a5ba53e184fe1a75fd38233 Mon Sep 17 00:00:00 2001 From: Valentino Spataro Date: Wed, 25 Nov 2020 18:49:54 +0100 Subject: [PATCH] Update MyFirstBetterLookingApp.py --- Chapter01/MyFirstBetterLookingApp.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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):