[GRASS-SVN] r59543 - grass/branches/releasebranch_7_0/gui/wxpython/modules

svn_grass at osgeo.org svn_grass at osgeo.org
Tue Apr 1 12:52:49 PDT 2014


Author: annakrat
Date: 2014-04-01 12:52:48 -0700 (Tue, 01 Apr 2014)
New Revision: 59543

Modified:
   grass/branches/releasebranch_7_0/gui/wxpython/modules/histogram.py
Log:
wxGUI/d.histogram: fix export histogram on Windows (merged from trunk, r59542)

Modified: grass/branches/releasebranch_7_0/gui/wxpython/modules/histogram.py
===================================================================
--- grass/branches/releasebranch_7_0/gui/wxpython/modules/histogram.py	2014-04-01 19:47:10 UTC (rev 59542)
+++ grass/branches/releasebranch_7_0/gui/wxpython/modules/histogram.py	2014-04-01 19:52:48 UTC (rev 59543)
@@ -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