Преглед изворни кода

wxGUI/d.histogram: fix export histogram on Windows

git-svn-id: https://svn.osgeo.org/grass/grass/trunk@59542 15284696-431f-4ddb-bdfa-cd5b030d7da7
Anna Petrášová пре 11 година
родитељ
комит
d902ec556a
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      gui/wxpython/modules/histogram.py

+ 1 - 1
gui/wxpython/modules/histogram.py

@@ -184,7 +184,7 @@ class BufferedWindow(wx.Window):
         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)