projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
forgot to commit during last regeneration
[wxWidgets.git]
/
wxPython
/
wx
/
py
/
PyAlaMode.py
diff --git
a/wxPython/wx/py/PyAlaMode.py
b/wxPython/wx/py/PyAlaMode.py
index d33243a36ad116e4b45e04eb9e91735aadeee088..8330cc3c3ad40c41a07852de46730f74f4c188e9 100644
(file)
--- a/
wxPython/wx/py/PyAlaMode.py
+++ b/
wxPython/wx/py/PyAlaMode.py
@@
-5,18
+5,11
@@
__cvsid__ = "$Id$"
__revision__ = "$Revision$"[11:-2]
import wx
__revision__ = "$Revision$"[11:-2]
import wx
+from wx import py
import os
import sys
import os
import sys
-import editor
-
-try:
- True
-except NameError:
- True = 1==1
- False = 1==0
-
class App(wx.App):
"""PyAlaMode standalone application."""
class App(wx.App):
"""PyAlaMode standalone application."""
@@
-26,7
+19,7
@@
class App(wx.App):
def OnInit(self):
wx.InitAllImageHandlers()
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
self.frame.Show()
self.SetTopWindow(self.frame)
return True