]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyAlaCarte.py
'[1219035] cleanup: miscellaneous' and minor source cleaning.
[wxWidgets.git] / wxPython / wx / py / PyAlaCarte.py
index 0f71bd447b901b0abadf8ae9af32bec99e4ca025..561224489c8026db7e2d6f028457b25201b30454 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):
     """PyAlaCarte standalone application."""
 
@@ -26,7 +19,7 @@ class App(wx.App):
 
     def OnInit(self):
         wx.InitAllImageHandlers()
-        self.frame = editor.EditorFrame(filename=self.filename)
+        self.frame = py.editor.EditorFrame(filename=self.filename)
         self.frame.Show()
         self.SetTopWindow(self.frame)
         return True