* Sync with recent trunk (r52637).
[reactos.git] / base / shell / explorer / utility / window.cpp
index 296f3ce..4ad750f 100644 (file)
@@ -39,7 +39,7 @@ WindowClass::WindowClass(LPCTSTR classname, UINT style_, WNDPROC wndproc)
        style = style_;
        hInstance = g_Globals._hInstance;
        hCursor = LoadCursor(0, IDC_ARROW);
-
+       this->hbrBackground = (HBRUSH)(COLOR_BTNFACE+1);
        lpszClassName = classname;
        lpfnWndProc = wndproc;
 
@@ -268,7 +268,7 @@ LRESULT CALLBACK Window::WindowWndProc(HWND hwnd, UINT nmsg, WPARAM wparam, LPAR
                  case WM_CREATE:
                        return pThis->Init((LPCREATESTRUCT)lparam);
 
-          case WM_NCDESTROY:
+                 case WM_NCDESTROY:
                        delete pThis;
                        return 0;