Changed default namespace of Shell to __main__.__dict__, instead of an

empty dictionary.


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25861 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Patrick K. O'Brien
2004-02-19 13:53:20 +00:00
parent c6f73d05cc
commit a47c63ba51
4 changed files with 7 additions and 5 deletions

View File

@@ -20,9 +20,8 @@ class App(wx.App):
def OnInit(self):
import wx
wx.InitAllImageHandlers()
locals = __main__.__dict__
from crust import CrustFrame
self.frame = CrustFrame(locals=locals)
self.frame = CrustFrame()
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)