X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b96c7a38a84ff9f6dfecd3885fba1971d30b9c0b..71aba8333cc915afff9e740c944f7fa7247abacb:/wxPython/demo/wxTimer.py diff --git a/wxPython/demo/wxTimer.py b/wxPython/demo/wxTimer.py index b58a628a1d..0aa39e8ee1 100644 --- a/wxPython/demo/wxTimer.py +++ b/wxPython/demo/wxTimer.py @@ -71,14 +71,6 @@ def runTest(frame, nb, log): - - - - - - - - overview = """\ The wxTimer class allows you to execute code at specified intervals. @@ -87,8 +79,7 @@ The wxTimer class allows you to execute code at specified intervals. - - - - - +if __name__ == '__main__': + import sys,os + import run + run.main(['', os.path.basename(sys.argv[0])])