]> 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 c11f30d23bf401b50f273c6c869491c690e47abd..a2ab5548f15b5789743173fd4780fbafa95d8791 100644 (file)
@@ -333,13 +333,9 @@ 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()
-
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])