From b8d3f1fe247290d5751f3c06c1847929410085a0 Mon Sep 17 00:00:00 2001 From: Mark Harmstone Date: Tue, 10 Feb 2015 21:58:01 +0000 Subject: [PATCH] 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 78d7cc44f3c..0f0db6d1788 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) {