[GRASS-SVN] r49641 - grass/branches/develbranch_6/gui/wxpython/mapdisp

svn_grass at osgeo.org svn_grass at osgeo.org
Fri Dec 9 07:18:59 EST 2011


Author: martinl
Date: 2011-12-09 04:18:59 -0800 (Fri, 09 Dec 2011)
New Revision: 49641

Modified:
   grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
Log:
wxGUI: fix launching histogram from mapdisp


Modified: grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py
===================================================================
--- grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2011-12-09 12:17:18 UTC (rev 49640)
+++ grass/branches/develbranch_6/gui/wxpython/mapdisp/frame.py	2011-12-09 12:18:59 UTC (rev 49641)
@@ -1073,9 +1073,8 @@
     def Histogram(self, event):
         """!Init histogram display canvas and tools
         """
-        self.histogram = histogram.HistogramFrame(self,
-                                                  id = wx.ID_ANY, size = globalvar.HIST_WINDOW_SIZE,
-                                                  style = wx.DEFAULT_FRAME_STYLE)
+        self.histogram = HistogramFrame(self, size = globalvar.HIST_WINDOW_SIZE,
+                                        style = wx.DEFAULT_FRAME_STYLE)
 
         #show new display
         self.histogram.Show()



More information about the grass-commit mailing list