]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyCrust.py
wxPython Merge #2 of 2.4 branch --> HEAD (branch tag: wxPy_2_4_merge_2)
[wxWidgets.git] / wxPython / demo / PyCrust.py
index 3c7884151f876a077088b9258061868b693a953b..5bf452e2cc0393ad47ba3cd8b061998948cff66b 100644 (file)
@@ -1,16 +1,21 @@
 
-
-from wxPython.lib.PyCrust import shell, version
+from wx import py
 
 
 #----------------------------------------------------------------------
 
-intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
+intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % py.version.VERSION
 
 def runTest(frame, nb, log):
-    win = shell.Shell(nb, -1, introText=intro)
+    win = py.crust.Crust(nb, intro=intro)
     return win
 
 #----------------------------------------------------------------------
 
-overview = shell.__doc__
+overview = py.filling.__doc__ + "\n\n" + py.crust.__doc__
+
+if __name__ == '__main__':
+    import sys,os
+    import run
+    run.main(['', os.path.basename(sys.argv[0])])
+