]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/wxStyledTextCtrl_1.py
added QS_ALLPOSTMESSAGE
[wxWidgets.git] / wxPython / demo / wxStyledTextCtrl_1.py
index eda5e882e9886d648d02f1040cf2c6fff6130e49..0f082c2ca9e656de437d163abc9e0b0f42e69067 100644 (file)
@@ -269,7 +269,7 @@ be helpful.
 
 
 if __name__ == '__main__':
-    import os
+    import sys,os
     import run
-    run.main(['', os.path.basename(__file__)])
+    run.main(['', os.path.basename(sys.argv[0])])