X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7e7022c2c800a01e0b95d371fb213b0d25e3214..abcbaea73fa07b88ac681c78ea6933ba70a6fd72:/wxPython/demo/PyCrust.py diff --git a/wxPython/demo/PyCrust.py b/wxPython/demo/PyCrust.py index f8428f3ef7..feaf9df92e 100644 --- a/wxPython/demo/PyCrust.py +++ b/wxPython/demo/PyCrust.py @@ -1,16 +1,22 @@ -from wxPython.lib.PyCrust import PyCrustShell, PyCrustEditor, PyCrustVersion +from wxPython.lib.PyCrust import shell, version #---------------------------------------------------------------------- -intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % PyCrustVersion.version +intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION def runTest(frame, nb, log): - shell = PyCrustShell.Shell(nb, intro) - return shell.editor + win = shell.Shell(nb, -1, introText=intro) + return win #---------------------------------------------------------------------- -overview = PyCrustShell.__doc__ +overview = shell.__doc__ + + +if __name__ == '__main__': + import run + run.main(['', 'PyCrust']) +