]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/PyAlaModeTest.py
Applied patch [ 1281902 ] fix for wxJoystick under Linux
[wxWidgets.git] / wxPython / wx / py / PyAlaModeTest.py
index 57b52e4524b4f598b70f378f4ae8dab64f8389aa..d1c02e0907c1b36016f7314fd75c29af9d8ac06d 100755 (executable)
@@ -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):
     """PyAlaModeTest standalone application."""
 
@@ -26,7 +19,7 @@ class App(wx.App):
 
     def OnInit(self):
         wx.InitAllImageHandlers()
-        self.frame = editor.EditorShellNotebookFrame(filename=self.filename)
+        self.frame = py.editor.EditorShellNotebookFrame(filename=self.filename)
         self.frame.Show()
         self.SetTopWindow(self.frame)
         return True