Status Bar: Window Class Fix

Robert Shearman rob at codeweavers.com
Mon Sep 13 15:24:35 CDT 2004


Note: COLOR_BTNFACE is the same value as COLOR_3DFACE, but COLOR_BTNFACE 
is the recommended value to use.

Changelog:
- Set hbrBackground class property to same value as native.

-------------- next part --------------
Index: wine/dlls/comctl32/status.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/status.c,v
retrieving revision 1.65
diff -u -p -r1.65 status.c
--- wine/dlls/comctl32/status.c	25 Aug 2004 17:33:01 -0000	1.65
+++ wine/dlls/comctl32/status.c	13 Sep 2004 20:03:49 -0000
@@ -1274,7 +1274,7 @@ STATUS_Register (void)
     wndClass.cbClsExtra    = 0;
     wndClass.cbWndExtra    = sizeof(STATUSWINDOWINFO *);
     wndClass.hCursor       = LoadCursorW (0, (LPWSTR)IDC_ARROW);
-    wndClass.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
+    wndClass.hbrBackground = (HBRUSH)(COLOR_BTNFACE + 1);
     wndClass.lpszClassName = STATUSCLASSNAMEW;
 
     RegisterClassW (&wndClass);


More information about the wine-patches mailing list