Skip to content

Commit

Permalink
GUI: Fix window background for classic theme
Browse files Browse the repository at this point in the history
  • Loading branch information
valinet authored Feb 19, 2022
1 parent a626f3d commit b6bf015
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ExplorerPatcher/GUI.c
Original file line number Diff line number Diff line change
Expand Up @@ -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));
Expand Down

0 comments on commit b6bf015

Please sign in to comment.