projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Generic fix for full row highlight
[wxWidgets.git]
/
wxPython
/
demo
/
PyCrust.py
diff --git
a/wxPython/demo/PyCrust.py
b/wxPython/demo/PyCrust.py
index f8428f3ef7bd8d332be23d7f8c8c54681bb917e9..3fd96ebed618e2a7af2998f1c9f40b64751339e9 100644
(file)
--- a/
wxPython/demo/PyCrust.py
+++ b/
wxPython/demo/PyCrust.py
@@
-1,16
+1,20
@@
-
-from wxPython.lib.PyCrust import PyCrustShell, PyCrustEditor, PyCrustVersion
-
+import wx.py as py
#----------------------------------------------------------------------
#----------------------------------------------------------------------
-intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' %
PyCrustVersion.version
+intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' %
py.version.VERSION
def runTest(frame, nb, log):
def runTest(frame, nb, log):
-
shell = PyCrustShell.Shell(nb,
intro)
- return
shell.editor
+
win = py.crust.Crust(nb, intro=
intro)
+ return
win
#----------------------------------------------------------------------
#----------------------------------------------------------------------
-overview = PyCrustShell.__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])] + sys.argv[1:])
+