https://git.reactos.org/?p=reactos.git;a=commitdiff;h=11049bd6d8de6025bac9a…
commit 11049bd6d8de6025bac9a51be2dd30c2779359d6
Author: Hermès Bélusca-Maïto <hermes.belusca-maito(a)reactos.org>
AuthorDate: Thu Nov 2 23:52:33 2017 +0100
[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 39e9d9a80e..e5f5d50d38 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);