- Update to r53061
[reactos.git] / dll / cpl / desk / desk.c
index c6784f4..cd22901 100644 (file)
@@ -9,7 +9,6 @@
  */
 
 #include "desk.h"
-#include "preview.h"
 
 #define NUM_APPLETS    (1)
 
@@ -132,6 +131,8 @@ DisplayApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
     UNREFERENCED_PARAMETER(uMsg);
     UNREFERENCED_PARAMETER(hwnd);
 
+    g_GlobalData.desktop_color = GetSysColor(COLOR_DESKTOP);
+
     LoadString(hApplet, IDS_CPLNAME, Caption, sizeof(Caption) / sizeof(TCHAR));
 
     ZeroMemory(&psh, sizeof(PROPSHEETHEADER));
@@ -162,7 +163,7 @@ DisplayApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
         InitPropSheetPage(&psh, PropPages[i].idDlg, PropPages[i].DlgProc, PropPages[i].Callback);
     }
 
-    /* NOTE: Don;t call SHAddFromPropSheetExtArray here because this applet only allows
+    /* NOTE: Don't call SHAddFromPropSheetExtArray here because this applet only allows
              replacing the background page but not extending the applet by more pages */
 
     ret = (LONG)(PropertySheet(&psh) != -1);