Dmitry Timoshkov <dmitry(a)codeweavers.com> Fix the usage of COLOR_xxx
constants in the place of the window's class hbrBackground.
Modified: trunk/reactos/subsys/system/notepad/main.c
_____
Modified: trunk/reactos/subsys/system/notepad/main.c
--- trunk/reactos/subsys/system/notepad/main.c 2005-09-23 06:02:23 UTC
(rev 17997)
+++ trunk/reactos/subsys/system/notepad/main.c 2005-09-23 06:04:44 UTC
(rev 17998)
@@ -345,7 +345,7 @@
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;
Show replies by date