]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/PyShell.py
don't try to refresh the menu bar before showing it, fixes crash on startup with...
[wxWidgets.git] / wxPython / demo / PyShell.py
index 41edebf719300ad1ae94712851b32e8f17eae382..450f73925b0be011f1b3a6fab0180dd82ad202fc 100644 (file)
@@ -6,7 +6,8 @@ from wxPython.lib.shell import PyShell
 
 
 def runTest(frame, nb, log):
-    win = PyShell(nb)
+    testGlobals = {'hello' : 'How are you?'}
+    win = PyShell(nb, globals=testGlobals)
     win.Show(true)
     return win