mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 06:26:35 +00:00
[REGEDIT] Don't paint background in WM_PAINT (#970)
Use the background brush or WM_ERASEBKGND message instead. There was graphical glidge. CORE-15187
This commit is contained in:
parent
3dffe964a3
commit
e4c2cff6c8
2 changed files with 1 additions and 15 deletions
|
@ -71,6 +71,7 @@ BOOL InitInstance(HINSTANCE hInstance, int nCmdShow)
|
|||
IMAGE_ICON, GetSystemMetrics(SM_CXSMICON),
|
||||
GetSystemMetrics(SM_CYSMICON), LR_SHARED);
|
||||
wcFrame.hCursor = LoadCursorW(NULL, IDC_ARROW);
|
||||
wcFrame.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
|
||||
wcFrame.lpszClassName = szFrameClass;
|
||||
|
||||
hFrameWndClass = RegisterClassExW(&wcFrame); /* register frame window class */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue