X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/660658398148d82d492a5d1a944bc4058a082267..628eae0bcd7916c57847b7eab739d4cc32534ccf:/wxPython/demo/Timer.py diff --git a/wxPython/demo/Timer.py b/wxPython/demo/Timer.py index 3c88d92a39..22b7192a2c 100644 --- a/wxPython/demo/Timer.py +++ b/wxPython/demo/Timer.py @@ -229,7 +229,7 @@ class NotifyTimer(wx.Timer): self.log = log def Notify(self): - log.write("got NotifyTimer event\n") + self.log.write("got NotifyTimer event\n") @@ -260,7 +260,7 @@ for backwards compatibility. if __name__ == '__main__': import sys,os import run - run.main(['', os.path.basename(sys.argv[0])]) + run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])