]> git.saurik.com Git - wxWidgets.git/commit
Account for scrolling when setting the background brush origin in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Feb 2013 16:14:03 +0000 (16:14 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sun, 10 Feb 2013 16:14:03 +0000 (16:14 +0000)
commit208717f64ea751a62f064f86cdb7cf43315bca38
treef73b468ec9da18a8accda2a39e736e94b5561cae
parent2aee45f63afa24557ffc9465ed9ea4df8e2c54a7
Account for scrolling when setting the background brush origin in wxMSW.

We must use physical coordinates for the brush origin to account for the
coordinates offset in scrolled windows, so add MSWAdjustBrushOrg() and call it
from MSWGetBgBrushForChild().

Closes #14917.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73495 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
include/wx/msw/window.h
include/wx/scrolwin.h
src/msw/window.cpp