From 11049bd6d8de6025bac9a51be2dd30c2779359d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Thu, 2 Nov 2017 23:52:33 +0100 Subject: [PATCH] [COMCTL32] comctl32/propsheet: Fix redrawing of the static text elements. Partial revert of SVN r74136 (b1b4279): enforce the correct "color" for the background of the static text elements: indeed, using a "transparent" background kept instead the old window color, which was not correctly repainted, unless you enforced a repaint by, e.g. moving away then back the window, or moved something else on top of it. Tested and approved by 'reactosfanboy'. Was detected as a regression in the wizard of DVDWrite Now 1.5.12 Formatter GUI. CORE-13929 CORE-12912 --- dll/win32/comctl32/propsheet.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/dll/win32/comctl32/propsheet.c b/dll/win32/comctl32/propsheet.c index 39e9d9a80e2..e5f5d50d385 100644 --- a/dll/win32/comctl32/propsheet.c +++ b/dll/win32/comctl32/propsheet.c @@ -1176,13 +1176,8 @@ PROPSHEET_WizardSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, return TRUE; case WM_CTLCOLORSTATIC: -#ifdef __REACTOS__ - SetBkMode((HDC)wParam, TRANSPARENT); - return (INT_PTR)GetStockObject(HOLLOW_BRUSH); -#else SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW)); return (INT_PTR)GetSysColorBrush(COLOR_WINDOW); -#endif } return DefSubclassProc(hwnd, uMsg, wParam, lParam);