X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578b389d6ec025acc887d4648df20a366f43882d..f50de1504e002ba3afac3491c8b4817870c850d8:/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)