[ros-diffs] [sedwards] 17998: Dmitry Timoshkov <dmitry@codeweavers.com> Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground.

sedwards at svn.reactos.com sedwards at svn.reactos.com
Fri Sep 23 08:04:53 CEST 2005


Dmitry Timoshkov <dmitry at 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;
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.reactos.org/pipermail/ros-diffs/attachments/20050923/8870f7ac/attachment.html


More information about the Ros-diffs mailing list