]> git.saurik.com Git - wxWidgets.git/commit
Correct the size of bitmap returned by wxRegion::ConvertToBitmap().
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:43:18 +0000 (10:43 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 11 Jul 2010 10:43:18 +0000 (10:43 +0000)
commitecc4f568a9e2dd566eb74b2616b4172863db5e7f
tree21f81d397655263d3c69951bab38f0c6f71a2f02
parentcdb68deb01067fab82e2449ccde2794158ed7da9
Correct the size of bitmap returned by wxRegion::ConvertToBitmap().

The bitmap was 1 pixel smaller than needed due to the unwarranted use of
wxRect::GetRight() and GetBottom() instead of GetWidth() and GetHeight().

Closes #12213.

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