]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/Timer.py
compilation fix for WXWIN_COMPATIBILITY_2_2 (bug 1252476)
[wxWidgets.git] / wxPython / demo / Timer.py
index 3c88d92a393dbcdca8d3487283ba1a5459e60dba..22b7192a2cf45d1feac697c6735a1ff214396cf4 100644 (file)
@@ -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:])