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.
This commit is contained in:
Bart House
2017-10-08 17:32:58 -07:00
committed by Pasi Kallinen
parent 024e9e1225
commit b1f7bd3791

View File

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