COLOR_3DFACE is a better choice for dialog's background

Dmitry Timoshkov dmitry at baikal.ru
Thu Sep 22 02:54:19 CDT 2005


Hello,

Mike told me that COLOR_WINDOW is not what it's supposed to look like,
COLOR_3DFACE is a better choice.

Changelog:
    Dmitry Timoshkov <dmitry at codeweavers.com>
    COLOR_3DFACE is a better choice for dialog's background.

--- cvs/hq/wine/dlls/msi/dialog.c	2005-09-22 13:31:36.000000000 +0900
+++ wine/dlls/msi/dialog.c	2005-09-22 13:52:21.000000000 +0900
@@ -1982,7 +1982,7 @@ BOOL msi_dialog_register_class( void )
     cls.hInstance     = NULL;
     cls.hIcon         = LoadIconW(0, (LPWSTR)IDI_APPLICATION);
     cls.hCursor       = LoadCursorW(0, (LPWSTR)IDC_ARROW);
-    cls.hbrBackground = (HBRUSH)(COLOR_WINDOW + 1);
+    cls.hbrBackground = (HBRUSH)(COLOR_3DFACE + 1);
     cls.lpszMenuName  = NULL;
     cls.lpszClassName = szMsiDialogClass;
 






More information about the wine-patches mailing list