[PATCH] comctl32: fix graphical error on themed progress bars

Mark Harmstone hellas at burntcomma.com
Sun Feb 15 14:07:06 CST 2015


The background of themed progress bars is drawn by draw_theme_bkg_[HV],
which use di->bgRect as the coordinates. However, this is in screen
coordinates, whereas DrawThemeBackground expects coordinates to be
relative to the DC, meaning that the background never gets erased.

---
 dlls/comctl32/progress.c | 18 ++++++++++++++----
 1 file changed, 14 insertions(+), 4 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-comctl32-fix-graphical-error-on-themed-progress-bars.patch
Type: text/x-patch
Size: 1406 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20150215/041d2f2a/attachment.bin>


More information about the wine-patches mailing list