]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStyledTextCtrl_2.py
No, I didn't test it before. This is what I meant to do!
[wxWidgets.git] / wxPython / demo / wxStyledTextCtrl_2.py
index ff7d34fd828af167cec34d3ea7bff2e3bd2d0c5a..a2ab5548f15b5789743173fd4780fbafa95d8791 100644 (file)
@@ -332,18 +332,10 @@ be helpful.
 """
 
 
-## if __name__ == '__main__':
-##     import sys
-##     app = wxPySimpleApp()
-##     frame = wxFrame(None, -1, "Tester...", size=(640, 480))
-##     win = runTest(frame, frame, sys.stdout)
-##     frame.Show(true)
-##     app.MainLoop()
-
-
 if __name__ == '__main__':
+    import sys,os
     import run
-    run.main(['', 'wxStyledTextCtrl_2'])
+    run.main(['', os.path.basename(sys.argv[0])])