]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyCrust.py
Applied patch [ 739401 ] gtk_init() has to be called before gdk_threads_enter()
[wxWidgets.git] / wxPython / demo / PyCrust.py
index feaf9df92ec468ae178d88dee9e4e4812f36d91c..4d2ae22b32d3a29369e4462772443830d7b47deb 100644 (file)
@@ -17,6 +17,7 @@ overview = shell.__doc__
 
 
 if __name__ == '__main__':
+    import sys,os
     import run
-    run.main(['', 'PyCrust'])
+    run.main(['', os.path.basename(sys.argv[0])])