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:
@@ -19,9 +19,8 @@ class App(wx.App):
|
||||
def OnInit(self):
|
||||
import wx
|
||||
wx.InitAllImageHandlers()
|
||||
locals = __main__.__dict__
|
||||
from shell import ShellFrame
|
||||
self.frame = ShellFrame(locals=locals)
|
||||
self.frame = ShellFrame()
|
||||
self.frame.SetSize((750, 525))
|
||||
self.frame.Show()
|
||||
self.SetTopWindow(self.frame)
|
||||
|
Reference in New Issue
Block a user