git-svn-id: https://svn.osgeo.org/grass/grass/trunk@51068 15284696-431f-4ddb-bdfa-cd5b030d7da7
@@ -470,7 +470,7 @@ class BufferedWindow(MapWindow, wx.Window):
# set back old coordinates
textinfo['coords'] = oldCoords
- dc = wx.BufferedPaintDC(self, ibuffer)
+ dc = wx.BufferedDC(None, ibuffer)
dc.Clear()
self.PrepareDC(dc)
self.pdc.DrawToDC(dc)