瀏覽代碼

wxgui.py: import GMFrame from GMApp

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@64528 15284696-431f-4ddb-bdfa-cd5b030d7da7
Martin Landa 10 年之前
父節點
當前提交
afe7acd451
共有 1 個文件被更改,包括 2 次插入4 次删除
  1. 2 4
      gui/wxpython/wxgui.py

+ 2 - 4
gui/wxpython/wxgui.py

@@ -5,9 +5,8 @@
 
 Classes:
  - wxgui::GMApp
- - wxgui::Usage
 
-(C) 2006-2011 by the GRASS Development Team
+(C) 2006-2015 by the GRASS Development Team
 
 This program is free software under the GNU General Public License
 (>=v2). Read the file COPYING that comes with GRASS for details.
@@ -34,8 +33,6 @@ try:
 except ImportError:
     SC = None
 
-from lmgr.frame import GMFrame
-
 
 class GMApp(wx.App):
     def __init__(self, workspace = None):
@@ -79,6 +76,7 @@ class GMApp(wx.App):
         wx.Yield()
 
         # create and show main frame
+        from lmgr.frame import GMFrame
         mainframe = GMFrame(parent = None, id = wx.ID_ANY,
                             workspace = self.workspaceFile)