mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[REGEDIT] Set background brush to child window (#1122)
This commit fixes a problem with drawing of splitter. CORE-15442
This commit is contained in:
parent
ec96bf8e5c
commit
63a0ac0461
1 changed files with 1 additions and 0 deletions
|
@ -83,6 +83,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
||||||
wcChild.hInstance = hInstance;
|
wcChild.hInstance = hInstance;
|
||||||
wcChild.hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_REGEDIT));
|
wcChild.hIcon = LoadIconW(hInstance, MAKEINTRESOURCEW(IDI_REGEDIT));
|
||||||
wcChild.hCursor = LoadCursorW(NULL, IDC_ARROW);
|
wcChild.hCursor = LoadCursorW(NULL, IDC_ARROW);
|
||||||
|
wcChild.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
|
||||||
wcChild.lpszClassName = szChildClass;
|
wcChild.lpszClassName = szChildClass;
|
||||||
wcChild.hIconSm = (HICON)LoadImageW(hInstance, MAKEINTRESOURCEW(IDI_REGEDIT),
|
wcChild.hIconSm = (HICON)LoadImageW(hInstance, MAKEINTRESOURCEW(IDI_REGEDIT),
|
||||||
IMAGE_ICON, GetSystemMetrics(SM_CXSMICON),
|
IMAGE_ICON, GetSystemMetrics(SM_CXSMICON),
|
||||||
|
|
Loading…
Reference in a new issue