From b1f7bd37910a0f8392eaf39d42814356af6d4b0f Mon Sep 17 00:00:00 2001 From: Bart House Date: Sun, 8 Oct 2017 17:32:58 -0700 Subject: [PATCH] Win32GUI: Set main window background brush to black. Black is a better choice given that the map background will always be black. This also creates a better polished experience when all window backgrounds are set to black. --- win/win32/mhmain.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/win/win32/mhmain.c b/win/win32/mhmain.c index 48c2ea3a6..f64ab7665 100644 --- a/win/win32/mhmain.c +++ b/win/win32/mhmain.c @@ -104,7 +104,7 @@ register_main_window_class() wcex.hInstance = GetNHApp()->hApp; wcex.hIcon = LoadIcon(GetNHApp()->hApp, (LPCTSTR) IDI_NETHACKW); wcex.hCursor = LoadCursor(NULL, IDC_ARROW); - wcex.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1); + wcex.hbrBackground = CreateSolidBrush(RGB(0, 0, 0)); wcex.lpszMenuName = (TCHAR *) IDC_NETHACKW; wcex.lpszClassName = szMainWindowClass;