Module: wine Branch: master Commit: b8d3f1fe247290d5751f3c06c1847929410085a0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=b8d3f1fe247290d5751f3c06c1...
Author: Mark Harmstone hellas@burntcomma.com Date: Tue Feb 10 21:58:01 2015 +0000
comctl32: Always redraw background on checkbox repaint.
---
dlls/comctl32/theme_button.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/dlls/comctl32/theme_button.c b/dlls/comctl32/theme_button.c index 78d7cc4..0f0db6d 100644 --- a/dlls/comctl32/theme_button.c +++ b/dlls/comctl32/theme_button.c @@ -166,8 +166,8 @@ static void CB_draw(HTHEME theme, HWND hwnd, HDC hDC, ButtonState drawState, UIN bgRect.right = bgRect.left + cb_size; textRect.left = bgRect.right + 6;
- if (IsThemeBackgroundPartiallyTransparent(theme, part, state)) - DrawThemeParentBackground(hwnd, hDC, NULL); + DrawThemeParentBackground(hwnd, hDC, NULL); + DrawThemeBackground(theme, hDC, part, state, &bgRect, NULL); if (text) {