X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2f52b4e15cbb816d8127d0131d3d8316262d2b4f..d0b50ad93942338301a318eda78f7d3999a93fab:/src/msw/dcprint.cpp diff --git a/src/msw/dcprint.cpp b/src/msw/dcprint.cpp index 27ea98fe59..c0e90e3d2c 100644 --- a/src/msw/dcprint.cpp +++ b/src/msw/dcprint.cpp @@ -436,7 +436,7 @@ bool wxPrinterDC::DoBlit(wxCoord xdest, wxCoord ydest, else // no mask { if ( !(::GetDeviceCaps(GetHdc(), RASTERCAPS) & RC_STRETCHDIB) || - !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xsrc, ysrc) ) + !DrawBitmapUsingStretchDIBits(GetHdc(), bmp, xdest, ydest) ) { // no support for StretchDIBits