]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyAlaMode.py
Tweak the text about Sizer changes
[wxWidgets.git] / wxPython / wx / py / PyAlaMode.py
index d33243a36ad116e4b45e04eb9e91735aadeee088..8330cc3c3ad40c41a07852de46730f74f4c188e9 100644 (file)
@@ -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