mirror of
https://github.com/reactos/reactos.git
synced 2024-12-31 19:42:51 +00:00
[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
This commit is contained in:
parent
3c679fc6b4
commit
11049bd6d8
1 changed files with 0 additions and 5 deletions
|
@ -1176,13 +1176,8 @@ PROPSHEET_WizardSubclassProc(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam,
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
case WM_CTLCOLORSTATIC:
|
case WM_CTLCOLORSTATIC:
|
||||||
#ifdef __REACTOS__
|
|
||||||
SetBkMode((HDC)wParam, TRANSPARENT);
|
|
||||||
return (INT_PTR)GetStockObject(HOLLOW_BRUSH);
|
|
||||||
#else
|
|
||||||
SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
|
SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
|
||||||
return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
|
return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
|
||||||
#endif
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return DefSubclassProc(hwnd, uMsg, wParam, lParam);
|
return DefSubclassProc(hwnd, uMsg, wParam, lParam);
|
||||||
|
|
Loading…
Reference in a new issue