SetUserScale(1.0, 1.0) in Unmask() so the image will not be scaled again when blitted

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65623 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2010-09-23 21:08:26 +00:00
parent 6f5778a627
commit e6933ff911

View File

@ -130,6 +130,9 @@ void wxBufferedDC::UnMask()
wxCoord x = 0,
y = 0;
// Ensure the scale matches the device
SetUserScale(1.0, 1.0);
if ( m_style & wxBUFFER_CLIENT_AREA )
GetDeviceOrigin(&x, &y);