]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyCrustWithFilling.py
The mac toolbar was redrawing buttons when not shown -
[wxWidgets.git] / wxPython / demo / PyCrustWithFilling.py
index 78a200a9d685b223f1d350d6c75dbdd7b0dfd760..9d9e8a043a2ab945c0ea251cbd7400e1d85f3625 100644 (file)
@@ -1,5 +1,3 @@
-
-from wxPython.wx import *
 from wxPython.lib.PyCrust import shell, version, filling
 
 
@@ -11,10 +9,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__
+