Added __nonzero__ for wxTraskBarIcon
[wxWidgets.git] / wxPython / wx / py / PyShell.py
index 954ebed4c3358d34915bc3ede4b8f7a5d73de992..54cef8a71ea79c971a13a63850d98f0a04d80e1f 100644 (file)
@@ -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)