X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..ef8b9c3eb8259b8e5673b46f526b0da3b363927e:/wxPython/wx/py/PyAlaCarte.py diff --git a/wxPython/wx/py/PyAlaCarte.py b/wxPython/wx/py/PyAlaCarte.py index 0f71bd447b..561224489c 100644 --- a/wxPython/wx/py/PyAlaCarte.py +++ b/wxPython/wx/py/PyAlaCarte.py @@ -5,18 +5,11 @@ __cvsid__ = "$Id$" __revision__ = "$Revision$"[11:-2] import wx +from wx import py import os import sys -import editor - -try: - True -except NameError: - True = 1==1 - False = 1==0 - class App(wx.App): """PyAlaCarte standalone application.""" @@ -26,7 +19,7 @@ class App(wx.App): def OnInit(self): wx.InitAllImageHandlers() - self.frame = editor.EditorFrame(filename=self.filename) + self.frame = py.editor.EditorFrame(filename=self.filename) self.frame.Show() self.SetTopWindow(self.frame) return True