[ros-diffs] [mkupfer] 40952: - use system background color instead of fixed one - TODO: apply to buttons (still bitmaps)

mkupfer at svn.reactos.org mkupfer at svn.reactos.org
Sun May 17 13:28:41 CEST 2009


Author: mkupfer
Date: Sun May 17 15:28:40 2009
New Revision: 40952

URL: http://svn.reactos.org/svn/reactos?rev=40952&view=rev
Log:
- use system background color instead of fixed one
- TODO: apply to buttons (still bitmaps)

Modified:
    trunk/reactos/base/applications/games/winemine/main.c

Modified: trunk/reactos/base/applications/games/winemine/main.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/games/winemine/main.c?rev=40952&r1=40951&r2=40952&view=diff
==============================================================================
--- trunk/reactos/base/applications/games/winemine/main.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/games/winemine/main.c [iso-8859-1] Sun May 17 15:28:40 2009
@@ -51,7 +51,7 @@
     wc.hInstance = hInst;
     wc.hIcon = LoadIcon( hInst, MAKEINTRESOURCE(IDI_WINEMINE) );
     wc.hCursor = LoadCursor( NULL, (LPCTSTR)IDI_APPLICATION );
-    wc.hbrBackground = (HBRUSH) GetStockObject( LTGRAY_BRUSH );
+    wc.hbrBackground = GetSysColorBrush(COLOR_BTNFACE);
     wc.lpszMenuName = MAKEINTRESOURCE(IDM_WINEMINE);
     wc.lpszClassName = szAppName;
 



More information about the Ros-diffs mailing list