Keep track of the area intended to be buffered, and use that in UnMask instead of...
authorRobin Dunn <robin@alldunn.com>
Fri, 8 Jun 2012 19:26:19 +0000 (19:26 +0000)
committerRobin Dunn <robin@alldunn.com>
Fri, 8 Jun 2012 19:26:19 +0000 (19:26 +0000)
commit0681e07a14b413b426366005f1c24f88b8702733
tree12cd47edccc37a9ee1b865104f7ad734791b80db
parentdab0a95babc406b3784c4365aa14cd38dac4fa4c
Keep track of the area intended to be buffered, and use that in UnMask instead of defaulting to the buffer size.  Only clip to the DC size if wxBUFFER_VIRTUAL_AREA is not set.  This fixes the issue where buffering the full virtual area in a wxScrolledWindow would only draw an area the physical size of the window.  Fixes #11612.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71704 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/dcbuffer.h
src/common/dcbufcmn.cpp