X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec873c943d71f0d5f13e3398557071448cda6c23..a4027e74873007e3430af3bd77019bcab76f6c04:/wxPython/wx/py/PyAlaMode.py diff --git a/wxPython/wx/py/PyAlaMode.py b/wxPython/wx/py/PyAlaMode.py deleted file mode 100644 index 8330cc3c3a..0000000000 --- a/wxPython/wx/py/PyAlaMode.py +++ /dev/null @@ -1,36 +0,0 @@ -"""PyAlaMode is a programmer's editor.""" - -__author__ = "Patrick K. O'Brien " -__cvsid__ = "$Id$" -__revision__ = "$Revision$"[11:-2] - -import wx -from wx import py - -import os -import sys - -class App(wx.App): - """PyAlaMode standalone application.""" - - def __init__(self, filename=None): - self.filename = filename - wx.App.__init__(self, redirect=False) - - def OnInit(self): - wx.InitAllImageHandlers() - self.frame = py.editor.EditorNotebookFrame(filename=self.filename) - self.frame.Show() - self.SetTopWindow(self.frame) - return True - -def main(filename=None): - if not filename and len(sys.argv) > 1: - filename = sys.argv[1] - if filename: - filename = os.path.realpath(filename) - app = App(filename) - app.MainLoop() - -if __name__ == '__main__': - main()