[SHELL32]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 10 Nov 2015 22:57:24 +0000 (22:57 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Tue, 10 Nov 2015 22:57:24 +0000 (22:57 +0000)
- CDefView: When we have to flicker don't use the worst possible color to erase the window but the background color of the list view. At least now some flickering will go unnoticed.

svn path=/trunk/; revision=69873

reactos/dll/win32/shell32/CDefView.cpp

index 3772ef8..035d73e 100644 (file)
@@ -266,7 +266,7 @@ class CDefView :
             {
                 {   sizeof(WNDCLASSEX), 0, StartWindowProc,
                     0, 0, NULL, NULL,
             {
                 {   sizeof(WNDCLASSEX), 0, StartWindowProc,
                     0, 0, NULL, NULL,
-                    LoadCursor(NULL, IDC_ARROW), (HBRUSH)(COLOR_BACKGROUND + 1), NULL, SV_CLASS_NAME, NULL
+                    LoadCursor(NULL, IDC_ARROW), (HBRUSH)(COLOR_WINDOW + 1), NULL, SV_CLASS_NAME, NULL
                 },
                 NULL, NULL, IDC_ARROW, TRUE, 0, _T("")
             };
                 },
                 NULL, NULL, IDC_ARROW, TRUE, 0, _T("")
             };