Correct the bounding box calculation in wxGTK wxDC::DrawBitmap().
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 2010 21:07:42 +0000 (21:07 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 3 Feb 2010 21:07:42 +0000 (21:07 +0000)
commit15b850072622e84759c9592e1e591ecdee4aee1c
treec55378e3f43a9df9cdf18a2468b9eaebd30c85a8
parentd3019e4d0a0730c31ba7ab64e0f80ac44e6ecc8a
Correct the bounding box calculation in wxGTK wxDC::DrawBitmap().

Take into account the axis direction when calculating the bounding box.

This is consistent with not reversing the bitmap even when the axis are
reversed which is probably the expected behaviour.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63378 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/dcclient.cpp