1
0
mirror of https://github.com/valinet/ExplorerPatcher.git synced 2025-02-03 04:57:10 +01:00

GUI: Fix window background for classic theme

This commit is contained in:
Valentin-Gabriel Radu 2022-02-19 14:13:02 +02:00 committed by GitHub
parent a626f3d7f8
commit b6bf015e1d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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));