X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/660658398148d82d492a5d1a944bc4058a082267..7fdaaabe427325cd10e8a9130c26a596b6997f98:/wxPython/demo/Timer.py?ds=sidebyside 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:])