From ff0258baabe7354e9bfd530eb0114cf2b69ea1b0 Mon Sep 17 00:00:00 2001 From: Giannis Adamopoulos Date: Wed, 11 May 2011 20:54:33 +0000 Subject: [PATCH] [rapps] - Don't use CS_HREDRAW and CS_VREDRAW for the main window - Reduces flicker svn path=/trunk/; revision=51677 --- reactos/base/applications/rapps/winmain.c | 1 - 1 file changed, 1 deletion(-) diff --git a/reactos/base/applications/rapps/winmain.c b/reactos/base/applications/rapps/winmain.c index 599665f8b75..7a1f228f9c1 100644 --- a/reactos/base/applications/rapps/winmain.c +++ b/reactos/base/applications/rapps/winmain.c @@ -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);