[GRASS-SVN] r59542 - grass/trunk/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 1 12:47:10 PDT 2014


Author: annakrat
Date: 2014-04-01 12:47:10 -0700 (Tue, 01 Apr 2014)
New Revision: 59542

Modified:
   grass/trunk/gui/wxpython/modules/histogram.py
Log:
wxGUI/d.histogram: fix export histogram on Windows

Modified: grass/trunk/gui/wxpython/modules/histogram.py
===================================================================
--- grass/trunk/gui/wxpython/modules/histogram.py	2014-04-01 08:38:43 UTC (rev 59541)
+++ grass/trunk/gui/wxpython/modules/histogram.py	2014-04-01 19:47:10 UTC (rev 59542)
@@ -184,7 +184,7 @@
         self.Map.Render(force=True, windres = True)
         img = self.GetImage()
         self.Draw(self.pdc, img, drawid = 99)
-        dc = wx.BufferedPaintDC(self, ibuffer)
+        dc = wx.BufferedDC(None, ibuffer)
         dc.Clear()
         # probably does nothing, removed from wxPython 2.9
         # self.PrepareDC(dc)



More information about the grass-commit mailing list