mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-09 23:48:22 +01:00
GUI: Fix window background for classic theme
This commit is contained in:
parent
a626f3d7f8
commit
b6bf015e1d
@ -902,7 +902,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt)
|
|||||||
|
|
||||||
if ((!IsThemeActive() || IsHighContrast()) && hDC)
|
if ((!IsThemeActive() || IsHighContrast()) && hDC)
|
||||||
{
|
{
|
||||||
COLORREF oldcr = SetBkColor(hdcPaint, GetSysColor(COLOR_WINDOW));
|
COLORREF oldcr = SetBkColor(hdcPaint, GetSysColor(COLOR_3DFACE));
|
||||||
ExtTextOutW(hdcPaint, 0, 0, ETO_OPAQUE, &rc, L"", 0, 0);
|
ExtTextOutW(hdcPaint, 0, 0, ETO_OPAQUE, &rc, L"", 0, 0);
|
||||||
SetBkColor(hdcPaint, oldcr);
|
SetBkColor(hdcPaint, oldcr);
|
||||||
SetTextColor(hdcPaint, GetSysColor(COLOR_WINDOWTEXT));
|
SetTextColor(hdcPaint, GetSysColor(COLOR_WINDOWTEXT));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user