Author: hbelusca
Date: Sat Feb 14 19:56:04 2015
New Revision: 66271
URL:
http://svn.reactos.org/svn/reactos?rev=66271&view=rev
Log:
[SHELL32]
- magic_value--;
- Don't assign a desktop background colour by default. So that we can get the
safe-mode background working (in safe mode), while having the default desktop background
colours in normal situations.
Patch by Giannis.
Modified:
trunk/reactos/dll/win32/shell32/CDesktopBrowser.cpp
Modified: trunk/reactos/dll/win32/shell32/CDesktopBrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/CDesktop…
==============================================================================
--- trunk/reactos/dll/win32/shell32/CDesktopBrowser.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/shell32/CDesktopBrowser.cpp [iso-8859-1] Sat Feb 14 19:56:04
2015
@@ -22,7 +22,7 @@
WINE_DEFAULT_DEBUG_CHANNEL(desktop);
-#define SHDESK_TAG 0x4b534544
+#define SHDESK_TAG 'KSED'
static const WCHAR szProgmanClassName [] = L"Progman";
static const WCHAR szProgmanWindowName [] = L"Program Manager";
@@ -551,7 +551,7 @@
wcProgman.hInstance = shell32_hInstance;
wcProgman.hIcon = NULL;
wcProgman.hCursor = LoadCursorW(NULL, IDC_ARROW);
- wcProgman.hbrBackground = (HBRUSH)(COLOR_BACKGROUND + 1);
+ wcProgman.hbrBackground = NULL;
wcProgman.lpszMenuName = NULL;
wcProgman.lpszClassName = szProgmanClassName;