X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/578b389d6ec025acc887d4648df20a366f43882d..f8c88923b051ea51cb08369055f195ecb7e44e35:/wxPython/wx/py/PyCrust.py?ds=sidebyside 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)