X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fea018f8019cdbb6f3150de91d23b83c10a178b3..40f7145ca55ccf1b197e70acf79bbd4aa5d85145:/wxPython/demo/PyCrustWithFilling.py diff --git a/wxPython/demo/PyCrustWithFilling.py b/wxPython/demo/PyCrustWithFilling.py index 78a200a9d6..30ea8e1d74 100644 --- a/wxPython/demo/PyCrustWithFilling.py +++ b/wxPython/demo/PyCrustWithFilling.py @@ -1,5 +1,5 @@ -from wxPython.wx import * +from wxPython.wx import wxSplitterWindow from wxPython.lib.PyCrust import shell, version, filling @@ -11,10 +11,13 @@ def runTest(frame, nb, log): win = wxSplitterWindow(nb, -1, size=(640, 480)) shellWin = shell.Shell(win, -1, introText=intro) fillingWin = filling.Filling(win, -1, size=(640, 480), - ingredients=shellWin.interp.locals) + rootObject=shellWin.interp.locals, + rootIsNamespace=1 + ) win.SplitHorizontally(shellWin, fillingWin) return win #---------------------------------------------------------------------- overview = filling.__doc__ +