X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..b887061dd1d7b3a49a111513309b1bb5c308537c:/wxPython/wx/py/PyCrust.py diff --git a/wxPython/wx/py/PyCrust.py b/wxPython/wx/py/PyCrust.py index c48cb344df..ce961a8d07 100644 --- a/wxPython/wx/py/PyCrust.py +++ b/wxPython/wx/py/PyCrust.py @@ -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)