]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyCrust.py
apparently the check for too small rect is needed not only with wxNB_MULTILINE (see...
[wxWidgets.git] / wxPython / demo / PyCrust.py
index 4d2ae22b32d3a29369e4462772443830d7b47deb..3fd96ebed618e2a7af2998f1c9f40b64751339e9 100644 (file)
@@ -1,23 +1,20 @@
 
-
-from wxPython.lib.PyCrust import shell, version
-
+import  wx.py   as  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])])
+    run.main(['', os.path.basename(sys.argv[0])] + sys.argv[1:])