]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStyledTextCtrl_1.py
compilation error fix (trailing comma in an enum)
[wxWidgets.git] / wxPython / demo / wxStyledTextCtrl_1.py
index b1e6b5360df587605269dcddf065519335a6288b..0f082c2ca9e656de437d163abc9e0b0f42e69067 100644 (file)
@@ -268,17 +268,8 @@ 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_1'])
+    run.main(['', os.path.basename(sys.argv[0])])