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)