wxPrinterDC::DoBlit() in current CVS is drawing to the
source coords rather than the dest coords. This patch
corrects that.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19965
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
else // no mask
{
if ( !(::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB) ||
else // no mask
{
if ( !(::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB) ||
- !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xsrc, ysrc) )
+ !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xdest, ydest) )
{
// no support for StretchDIBits
{
// no support for StretchDIBits