Explorar o código

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á %!s(int64=11) %!d(string=hai) anos
pai
achega
d902ec556a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)