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

svn_grass at osgeo.org svn_grass at osgeo.org
Sun Feb 17 21:28:58 EST 2008


Author: cmbarton
Date: 2008-02-17 21:28:58 -0500 (Sun, 17 Feb 2008)
New Revision: 30220

Modified:
   grass/trunk/gui/wxpython/wxgui.py
Log:
Extending new map calculator to r3.mapcalc

Modified: grass/trunk/gui/wxpython/wxgui.py
===================================================================
--- grass/trunk/gui/wxpython/wxgui.py	2008-02-18 01:28:11 UTC (rev 30219)
+++ grass/trunk/gui/wxpython/wxgui.py	2008-02-18 02:28:58 UTC (rev 30220)
@@ -878,8 +878,16 @@
         Init map calculator for interactive creation of mapcalc statements
         """
         
-        self.mapcalculator = mapcalculator.MapCalcFrame(self, wx.ID_ANY, title='')
+        self.mapcalculator = mapcalculator.MapCalcFrame(self, wx.ID_ANY, title='',
+                                                        dimension=2)
 
+    def Disp3DMapCalculator(self, event):
+        """
+        Init map calculator for interactive creation of mapcalc statements
+        """
+        
+        self.mapcalculator = mapcalculator.MapCalcFrame(self, wx.ID_ANY, title='',
+                                                        dimension=3)
 
     def AddToolbarButton(self, toolbar, label, icon, help, handler):
         """Adds button to the given toolbar"""



More information about the grass-commit mailing list