[GRASS-SVN] r54030 - grass/trunk/gui/wxpython/mapdisp
svn_grass at osgeo.org
svn_grass at osgeo.org
Sun Nov 25 04:15:20 PST 2012
Author: wenzeslaus
Date: 2012-11-25 04:15:20 -0800 (Sun, 25 Nov 2012)
New Revision: 54030
Modified:
grass/trunk/gui/wxpython/mapdisp/main.py
Log:
wxGUI/d.mon: grass interface for d.mon
Modified: grass/trunk/gui/wxpython/mapdisp/main.py
===================================================================
--- grass/trunk/gui/wxpython/mapdisp/main.py 2012-11-25 12:14:02 UTC (rev 54029)
+++ grass/trunk/gui/wxpython/mapdisp/main.py 2012-11-25 12:15:20 UTC (rev 54030)
@@ -30,6 +30,7 @@
import wx
from core import utils
+from core.giface import StandaloneGrassInterface
from core.gcmd import RunCommand
from core.render import Map
from mapdisp.frame import MapFrame
@@ -239,8 +240,11 @@
else:
self.Map = None
+ # actual use of StandaloneGrassInterface not yet tested
+ # needed for adding functionality in future
self.mapFrm = DMonFrame(parent = None, id = wx.ID_ANY, Map = self.Map,
- size = monSize)
+ giface = StandaloneGrassInterface(),
+ size = monSize)
# self.SetTopWindow(Map)
self.mapFrm.GetMapWindow().SetAlwaysRenderEnabled(True)
self.mapFrm.Show()
More information about the grass-commit
mailing list