comctl32: Always redraw background on checkbox repaint.

oldstable
Mark Harmstone 2015-02-10 21:58:01 +00:00 committed by Alexandre Julliard
parent 2148248976
commit b8d3f1fe24
1 changed files with 2 additions and 2 deletions

View File

@ -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)
{