X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..fdde476d53dcdb03bebd8ead8cea2c377fc3567d:/wxPython/wx/py/PyAlaMode.py diff --git a/wxPython/wx/py/PyAlaMode.py b/wxPython/wx/py/PyAlaMode.py index d33243a36a..8330cc3c3a 100644 --- a/wxPython/wx/py/PyAlaMode.py +++ b/wxPython/wx/py/PyAlaMode.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): """PyAlaMode standalone application.""" @@ -26,7 +19,7 @@ class App(wx.App): def OnInit(self): wx.InitAllImageHandlers() - self.frame = editor.EditorNotebookFrame(filename=self.filename) + self.frame = py.editor.EditorNotebookFrame(filename=self.filename) self.frame.Show() self.SetTopWindow(self.frame) return True