[GRASS-SVN] r59544 - grass/branches/releasebranch_6_4/gui/wxpython/modules
svn_grass at osgeo.org
svn_grass at osgeo.org
Tue Apr 1 12:57:13 PDT 2014
Author: annakrat
Date: 2014-04-01 12:57:13 -0700 (Tue, 01 Apr 2014)
New Revision: 59544
Modified:
grass/branches/releasebranch_6_4/gui/wxpython/modules/histogram.py
Log:
wxGUI/d.histogram: fix export histogram on Windows (merged from trunk, r59542)
Modified: grass/branches/releasebranch_6_4/gui/wxpython/modules/histogram.py
===================================================================
--- grass/branches/releasebranch_6_4/gui/wxpython/modules/histogram.py 2014-04-01 19:52:48 UTC (rev 59543)
+++ grass/branches/releasebranch_6_4/gui/wxpython/modules/histogram.py 2014-04-01 19:57:13 UTC (rev 59544)
@@ -183,7 +183,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