X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b1cfebd9f4fb3a63e4deab92c63f05b9706848a6..010afced511d74f4f1c10390da96c6ccf687d574:/wxPython/demo/PyCrustWithFilling.py?ds=sidebyside diff --git a/wxPython/demo/PyCrustWithFilling.py b/wxPython/demo/PyCrustWithFilling.py index cc47586cd7..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,7 +11,8 @@ 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), - rootObject=shellWin.interp.locals + rootObject=shellWin.interp.locals, + rootIsNamespace=1 ) win.SplitHorizontally(shellWin, fillingWin) return win @@ -19,3 +20,4 @@ def runTest(frame, nb, log): #---------------------------------------------------------------------- overview = filling.__doc__ +