]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyCrust.py
"wxWindows" --> "wxWidgets"
[wxWidgets.git] / wxPython / wx / py / PyCrust.py
index 4bd56370507b147ba538c59acfded7466829db99..b9a222763e59623667f5cef2b1755c7c8758e7d9 100644 (file)
@@ -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)