From b6bf015e1d412117052232b16321aaf00eb366c3 Mon Sep 17 00:00:00 2001 From: Valentin-Gabriel Radu Date: Sat, 19 Feb 2022 14:13:02 +0200 Subject: [PATCH] GUI: Fix window background for classic theme --- ExplorerPatcher/GUI.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ExplorerPatcher/GUI.c b/ExplorerPatcher/GUI.c index 1f05037..eb5669c 100644 --- a/ExplorerPatcher/GUI.c +++ b/ExplorerPatcher/GUI.c @@ -902,7 +902,7 @@ static BOOL GUI_Build(HDC hDC, HWND hwnd, POINT pt) 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); SetBkColor(hdcPaint, oldcr); SetTextColor(hdcPaint, GetSysColor(COLOR_WINDOWTEXT));