mirror of
https://github.com/reactos/reactos.git
synced 2024-06-28 17:01:28 +00:00
[rapps]
- Don't use CS_HREDRAW and CS_VREDRAW for the main window - Reduces flicker svn path=/trunk/; revision=51677
This commit is contained in:
parent
537a1dcc7f
commit
ff0258baab
|
@ -794,7 +794,6 @@ wWinMain(HINSTANCE hInstance, HINSTANCE hPrevInstance, LPWSTR lpCmdLine, int nSh
|
|||
WndClass.lpszClassName = szWindowClass;
|
||||
WndClass.lpfnWndProc = MainWindowProc;
|
||||
WndClass.hInstance = hInstance;
|
||||
WndClass.style = CS_HREDRAW | CS_VREDRAW;
|
||||
WndClass.hIcon = LoadIcon(hInstance, MAKEINTRESOURCE(IDI_MAIN));
|
||||
WndClass.hCursor = LoadCursor(NULL, IDC_ARROW);
|
||||
WndClass.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
|
||||
|
|
Loading…
Reference in a new issue