correct the coordinates used for DIBs in StretchBlt() (closes #10501)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@59101 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-02-22 23:54:05 +00:00
parent 068f78bc73
commit 4b87142167

View File

@@ -2289,7 +2289,7 @@ bool wxMSWDCImpl::DoStretchBlit(wxCoord xdest, wxCoord ydest,
if ( hDIB > 0 )
{
// reflect ysrc
ysrc = hDIB - (ysrc + dstHeight);
ysrc = hDIB - (ysrc + srcHeight);
}
if ( ::StretchDIBits(GetHdc(),