X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578b389d6ec025acc887d4648df20a366f43882d..fdde476d53dcdb03bebd8ead8cea2c377fc3567d:/wxPython/wx/py/PyShell.py diff --git a/wxPython/wx/py/PyShell.py b/wxPython/wx/py/PyShell.py index 954ebed4c3..c800dc4d9c 100644 --- a/wxPython/wx/py/PyShell.py +++ b/wxPython/wx/py/PyShell.py @@ -18,10 +18,9 @@ class App(wx.App): def OnInit(self): import wx + from wx import py wx.InitAllImageHandlers() - locals = __main__.__dict__ - from shell import ShellFrame - self.frame = ShellFrame(locals=locals) + self.frame = py.shell.ShellFrame() self.frame.SetSize((750, 525)) self.frame.Show() self.SetTopWindow(self.frame)