new style flags for wxBufferedDC

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@32590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2005-03-03 19:58:32 +00:00
parent d02ea46cad
commit 67a5217c4f
3 changed files with 30 additions and 11 deletions

View File

@@ -53,7 +53,7 @@ class MyCanvas(wx.ScrolledWindow):
# wx.PaintDC and then blit the bitmap to it when dc is
# deleted. Since we don't need to draw anything else
# here that's all there is to it.
dc = wx.BufferedPaintDC(self, self.buffer)
dc = wx.BufferedPaintDC(self, self.buffer, wx.BUFFER_VIRTUAL_AREA)
else:
dc = wx.PaintDC(self)
self.PrepareDC(dc)