X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/455bec652a67f86df6a6d5524ca7fed37ac7a098..e723991bb039f024b414c42e48c6534301ecc9b7:/src/common/dcbufcmn.cpp diff --git a/src/common/dcbufcmn.cpp b/src/common/dcbufcmn.cpp index 23055c2187..2e3d792400 100644 --- a/src/common/dcbufcmn.cpp +++ b/src/common/dcbufcmn.cpp @@ -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);