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:
@@ -2289,7 +2289,7 @@ bool wxMSWDCImpl::DoStretchBlit(wxCoord xdest, wxCoord ydest,
|
|||||||
if ( hDIB > 0 )
|
if ( hDIB > 0 )
|
||||||
{
|
{
|
||||||
// reflect ysrc
|
// reflect ysrc
|
||||||
ysrc = hDIB - (ysrc + dstHeight);
|
ysrc = hDIB - (ysrc + srcHeight);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ( ::StretchDIBits(GetHdc(),
|
if ( ::StretchDIBits(GetHdc(),
|
||||||
|
Reference in New Issue
Block a user