]> git.saurik.com Git - wxWidgets.git/commit
Really fix source coordinates handling in wxDC::Blit() in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 13:55:43 +0000 (13:55 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Thu, 5 Apr 2012 13:55:43 +0000 (13:55 +0000)
commit3caee5cfaad2d6262ad6114c688877abbef4b74e
tree1f0c10fd7c5863d3dda24b7e2a1dd9a68ce7d45d
parentcb9582cdf67f189bc4ba6d5f43bb09722c4c5995
Really fix source coordinates handling in wxDC::Blit() in wxMSW.

It turns out that the changes r71028 were unnecessary (and actually harmful)
in most cases, they're only needed when a DIB is used as a source DC. So move
the manual coordinates adjustments to the branch of code using StretchDIBits()
and don't do it anywhere else.

Also don't list this as an incompatible change as wxMSW actually already
worked as the other ports in the majority of cases and list it as a simple bug
fix instead.

Closes #14188.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71095 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
docs/changes.txt
src/msw/dc.cpp