comctl32/combo: Invalidate child edit control after painting themed background.

Fix the edit control in a themed combo control not displaying text when
clicking the combo control dropdown button.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-10-19 10:40:41 +08:00 committed by Alexandre Julliard
parent 5b7397bb27
commit 8018f95a83
1 changed files with 2 additions and 0 deletions

View File

@ -789,6 +789,8 @@ static LRESULT COMBO_ThemedPaint(HTHEME theme, HEADCOMBO *lphc, HDC hdc)
if ((lphc->dwStyle & CBS_DROPDOWNLIST) == CBS_DROPDOWNLIST)
CBPaintText(lphc, hdc);
else
InvalidateRect(lphc->hWndEdit, NULL, TRUE);
return 0;
}