X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d14a1e28567de23c586bc80017073d0c39f8d18f..3ad84671d3668996da1e351e83c7d859fc094603:/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