diff --git a/reactos/subsys/system/regedit/childwnd.c b/reactos/subsys/system/regedit/childwnd.c index d0315428777..2d9fb1785fd 100644 --- a/reactos/subsys/system/regedit/childwnd.c +++ b/reactos/subsys/system/regedit/childwnd.c @@ -85,7 +85,7 @@ static void OnPaint(HWND hWnd) GetClientRect(hWnd, &rt); hdc = BeginPaint(hWnd, &ps); - FillRect(ps.hdc, &rt, GetStockObject(LTGRAY_BRUSH)); + FillRect(ps.hdc, &rt, GetSysColorBrush(COLOR_BTNFACE)); EndPaint(hWnd, &ps); } diff --git a/reactos/subsys/system/regedit/framewnd.c b/reactos/subsys/system/regedit/framewnd.c index 832f3410de2..2b9b4de63cf 100644 --- a/reactos/subsys/system/regedit/framewnd.c +++ b/reactos/subsys/system/regedit/framewnd.c @@ -513,7 +513,7 @@ LRESULT CALLBACK FrameWndProc(HWND hWnd, UINT message, WPARAM wParam, LPARAM lPa _tcsncpy(pChildWnd->szPath, _T("My Computer"), MAX_PATH); hChildWnd = CreateWindowEx(0, szChildClass, _T("regedit child window"), /* WS_CHILD|WS_CLIPCHILDREN|WS_VISIBLE|WS_BORDER,*/ - WS_CHILD|WS_VISIBLE | WS_EX_CLIENTEDGE, + WS_CHILD|WS_VISIBLE, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, hWnd, (HMENU)0, hInst, pChildWnd); } diff --git a/reactos/subsys/system/regedit/main.c b/reactos/subsys/system/regedit/main.c index d0357946fb3..3b4719548b5 100644 --- a/reactos/subsys/system/regedit/main.c +++ b/reactos/subsys/system/regedit/main.c @@ -223,7 +223,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow) } */ hFrameWnd = CreateWindowEx(0, (LPCTSTR)(int)hFrameWndClass, szTitle, - WS_OVERLAPPEDWINDOW | WS_EX_CLIENTEDGE, + WS_OVERLAPPEDWINDOW, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, NULL, hMenuFrame, hInstance, NULL/*lpParam*/);