]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyShell.py
Applied patch [ 1281902 ] fix for wxJoystick under Linux
[wxWidgets.git] / wxPython / wx / py / PyShell.py
index 954ebed4c3358d34915bc3ede4b8f7a5d73de992..c800dc4d9c3e7cc2dc021b2055a999c609da90ad 100644 (file)
@@ -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)