]> git.saurik.com Git - wxWidgets.git/commitdiff
A fix from Patrick
authorRobin Dunn <robin@alldunn.com>
Thu, 13 Dec 2001 18:54:44 +0000 (18:54 +0000)
committerRobin Dunn <robin@alldunn.com>
Thu, 13 Dec 2001 18:54:44 +0000 (18:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/demo/PyCrustWithFilling.py

index cc47586cd78616a284d63b98e6ae03c2db6198f3..9d9e8a043a2ab945c0ea251cbd7400e1d85f3625 100644 (file)
@@ -1,5 +1,3 @@
-
-from wxPython.wx import *
 from wxPython.lib.PyCrust import shell, version, filling
 
 
@@ -11,7 +9,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 +18,4 @@ def runTest(frame, nb, log):
 #----------------------------------------------------------------------
 
 overview = filling.__doc__
+