Eliminate relative imports and make them more py2exe friendly.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Patrick K. O'Brien
2004-03-15 13:42:37 +00:00
parent a7716111cb
commit d40bbd4dac
6 changed files with 14 additions and 17 deletions

View File

@@ -13,15 +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()
from crust import CrustFrame
self.frame = CrustFrame()
self.frame = py.crust.CrustFrame()
self.frame.SetSize((800, 600))
self.frame.Show()
self.SetTopWindow(self.frame)