mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 04:13:34 +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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user