mirror of
https://github.com/valinet/ExplorerPatcher.git
synced 2025-02-03 13:03:29 +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)
|
||||
{
|
||||
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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user