--- a/controls/DebugVariablePanel.py Tue Feb 26 09:26:25 2013 +0100
+++ b/controls/DebugVariablePanel.py Wed Feb 27 09:37:51 2013 +0100
@@ -737,7 +737,7 @@
width, height = self.GetSize()
bitmap = wx.EmptyBitmap(width, height)
- dc = wx.BufferedPaintDC(self, bitmap)
+ dc = wx.BufferedDC(wx.ClientDC(self), bitmap)
dc.Clear()
dc.BeginDrawing()
@@ -1737,7 +1737,7 @@
width, height = self.GraphicsWindow.GetVirtualSize()
bitmap = wx.EmptyBitmap(width, height)
- dc = wx.BufferedPaintDC(self.GraphicsWindow, bitmap)
+ dc = wx.BufferedDC(wx.ClientDC(self.GraphicsWindow), bitmap)
dc.Clear()
dc.BeginDrawing()
if self.DraggingAxesPanel is not None: