From b901c8db5aed9a2b606d3a1e71e56f40c85a3c12 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Wed, 12 Nov 2008 15:15:51 +0800 Subject: [PATCH] shdocvw: Fix the COLOR_xxx usage. --- dlls/shdocvw/dochost.c | 2 +- dlls/shdocvw/oleobject.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/shdocvw/dochost.c b/dlls/shdocvw/dochost.c index 112c12a3735..dd6e71265d7 100644 --- a/dlls/shdocvw/dochost.c +++ b/dlls/shdocvw/dochost.c @@ -149,7 +149,7 @@ void create_doc_view_hwnd(DocHost *This) CS_PARENTDC, doc_view_proc, 0, 0 /* native uses 4*/, NULL, NULL, NULL, - (HBRUSH)COLOR_WINDOWFRAME, NULL, + (HBRUSH)(COLOR_WINDOW + 1), NULL, wszShell_DocObject_View, NULL }; diff --git a/dlls/shdocvw/oleobject.c b/dlls/shdocvw/oleobject.c index b8ed625b915..70a163da72b 100644 --- a/dlls/shdocvw/oleobject.c +++ b/dlls/shdocvw/oleobject.c @@ -83,7 +83,7 @@ static void create_shell_embedding_hwnd(WebBrowser *This) CS_DBLCLKS, shell_embedding_proc, 0, 0 /* native uses 8 */, NULL, NULL, NULL, - (HBRUSH)COLOR_WINDOWFRAME, NULL, + (HBRUSH)(COLOR_WINDOW + 1), NULL, wszShellEmbedding, NULL };