]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dcprint.cpp
better error message
[wxWidgets.git] / src / msw / dcprint.cpp
index 27ea98fe59c036bc0d104afbdf4e0b9fca91bbb9..c0e90e3d2ce058386ce152ec7271729e87655311 100644 (file)
@@ -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