mirror of
https://github.com/reactos/reactos.git
synced 2026-07-03 16:24:56 +08:00
Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground.
svn path=/trunk/; revision=17998
This commit is contained in:
@@ -345,7 +345,7 @@ int PASCAL WinMain(HINSTANCE hInstance, HINSTANCE prev, LPSTR cmdline, int show)
|
||||
class.hInstance = Globals.hInstance;
|
||||
class.hIcon = LoadIcon(0, IDI_APPLICATION);
|
||||
class.hCursor = LoadCursor(0, IDC_ARROW);
|
||||
class.hbrBackground = (HBRUSH)(COLOR_WINDOW);
|
||||
class.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
|
||||
class.lpszMenuName = MAKEINTRESOURCE(MAIN_MENU);
|
||||
class.lpszClassName = className;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user