https://git.reactos.org/?p=reactos.git;a=commitdiff;h=63a0ac04612a1a3f51543d4a2c35b71bfb1ebc0c

commit 63a0ac04612a1a3f51543d4a2c35b71bfb1ebc0c
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Thu Dec 13 20:00:27 2018 +0900
Commit:     GitHub <nore...@github.com>
CommitDate: Thu Dec 13 20:00:27 2018 +0900

    [REGEDIT] Set background brush to child window (#1122)
    
    This commit fixes a problem with drawing of splitter. CORE-15442
---
 base/applications/regedit/main.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/base/applications/regedit/main.c b/base/applications/regedit/main.c
index fc187689ec..e85e62f51b 100644
--- a/base/applications/regedit/main.c
+++ b/base/applications/regedit/main.c
@@ -83,6 +83,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
     wcChild.hInstance = hInstance;
     wcChild.hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_REGEDIT));
     wcChild.hCursor = LoadCursorW(NULL, IDC_ARROW);
+    wcChild.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
     wcChild.lpszClassName = szChildClass;
     wcChild.hIconSm = (HICON)LoadImageW(hInstance, 
MAKEINTRESOURCEW(IDI_REGEDIT),
                                         IMAGE_ICON, 
GetSystemMetrics(SM_CXSMICON),

Reply via email to