From 4db49a2b8f8b00aed9504e909658c3bacb8c7bd8 Mon Sep 17 00:00:00 2001 From: Steven Edwards Date: Fri, 23 Sep 2005 06:04:44 +0000 Subject: [PATCH] Dmitry Timoshkov Fix the usage of COLOR_xxx constants in the place of the window's class hbrBackground. svn path=/trunk/; revision=17998 --- reactos/subsys/system/notepad/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/subsys/system/notepad/main.c b/reactos/subsys/system/notepad/main.c index b278453f75c..0b8191bb1e9 100644 --- a/reactos/subsys/system/notepad/main.c +++ b/reactos/subsys/system/notepad/main.c @@ -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;