]> git.saurik.com Git - wxWidgets.git/blame_incremental - wxPython/demo/PyCrustWithFilling.py
Don't create a bitmap with dimensions <= 0...
[wxWidgets.git] / wxPython / demo / PyCrustWithFilling.py
... / ...
CommitLineData
1
2from wxPython.wx import *
3from wxPython.lib.PyCrust import shell, version, filling
4
5
6#----------------------------------------------------------------------
7
8intro = 'Welcome To PyCrust %s - The Flakiest Python Shell' % version.VERSION
9
10def runTest(frame, nb, log):
11 win = wxSplitterWindow(nb, -1, size=(640, 480))
12 shellWin = shell.Shell(win, -1, introText=intro)
13 fillingWin = filling.Filling(win, -1, size=(640, 480),
14 rootObject=shellWin.interp.locals
15 )
16 win.SplitHorizontally(shellWin, fillingWin)
17 return win
18
19#----------------------------------------------------------------------
20
21overview = filling.__doc__