[GRASS-SVN] r64528 - grass/trunk/gui/wxpython

svn_grass at osgeo.org svn_grass at osgeo.org
Mon Feb 9 06:45:38 PST 2015


Author: martinl
Date: 2015-02-09 06:45:37 -0800 (Mon, 09 Feb 2015)
New Revision: 64528

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
wxgui.py: import GMFrame from GMApp

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2015-02-09 14:43:59 UTC (rev 64527)
+++ grass/trunk/gui/wxpython/wxgui.py	2015-02-09 14:45:37 UTC (rev 64528)
@@ -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,9 +33,7 @@
 except ImportError:
     SC = None
 
-from lmgr.frame import GMFrame
 
-
 class GMApp(wx.App):
     def __init__(self, workspace = None):
         """ Main GUI class.
@@ -79,6 +76,7 @@
         wx.Yield()
 
         # create and show main frame
+        from lmgr.frame import GMFrame
         mainframe = GMFrame(parent = None, id = wx.ID_ANY,
                             workspace = self.workspaceFile)
 



More information about the grass-commit mailing list