]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyCrust.py
Updated version number
[wxWidgets.git] / wxPython / wx / py / PyCrust.py
index c48cb344df6996374d450aa474c4d49074728edb..ce961a8d077e8034294a9536266efdc70100ccfa 100644 (file)
@@ -13,12 +13,6 @@ __revision__ = "$Revision$"[11:-2]
 
 import wx
 
-try:
-    True
-except NameError:
-    True = 1==1
-    False = 1==0
-
 
 class App(wx.App):
     """PyCrust standalone application."""
@@ -26,9 +20,8 @@ class App(wx.App):
     def OnInit(self):
         import wx
         wx.InitAllImageHandlers()
-        locals = __main__.__dict__
         from crust import CrustFrame
-        self.frame = CrustFrame(locals=locals)
+        self.frame = CrustFrame()
         self.frame.SetSize((800, 600))
         self.frame.Show()
         self.SetTopWindow(self.frame)