X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578b389d6ec025acc887d4648df20a366f43882d..609b563c8b9ade4fcde9160f11c7deaf16a9f7b6:/wxPython/wx/py/PyCrust.py diff --git a/wxPython/wx/py/PyCrust.py b/wxPython/wx/py/PyCrust.py index 4bd5637050..b9a222763e 100644 --- a/wxPython/wx/py/PyCrust.py +++ b/wxPython/wx/py/PyCrust.py @@ -13,16 +13,14 @@ __revision__ = "$Revision$"[11:-2] import wx - class App(wx.App): """PyCrust standalone application.""" def OnInit(self): import wx + from wx import py wx.InitAllImageHandlers() - locals = __main__.__dict__ - from crust import CrustFrame - self.frame = CrustFrame(locals=locals) + self.frame = py.crust.CrustFrame() self.frame.SetSize((800, 600)) self.frame.Show() self.SetTopWindow(self.frame)