Eliminate relative imports and make them more py2exe friendly.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26212 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -5,12 +5,11 @@ __cvsid__ = "$Id$"
|
||||
__revision__ = "$Revision$"[11:-2]
|
||||
|
||||
import wx
|
||||
from wx import py
|
||||
|
||||
import os
|
||||
import sys
|
||||
|
||||
import editor
|
||||
|
||||
class App(wx.App):
|
||||
"""PyAlaModeTest standalone application."""
|
||||
|
||||
@@ -20,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
|
||||
|
Reference in New Issue
Block a user