Zebediah Figura : winecfg: Use GetSysColorBrush().

Alexandre Julliard julliard at winehq.org
Thu Apr 18 16:41:12 CDT 2019


Module: wine
Branch: master
Commit: f05fa1b99d558ad233c0f2640620389725e8c03d
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=f05fa1b99d558ad233c0f2640620389725e8c03d

Author: Zebediah Figura <z.figura12 at gmail.com>
Date:   Mon Apr 15 20:16:18 2019 -0500

winecfg: Use GetSysColorBrush().

Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 programs/winecfg/about.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/programs/winecfg/about.c b/programs/winecfg/about.c
index a2b4022..879693e 100644
--- a/programs/winecfg/about.c
+++ b/programs/winecfg/about.c
@@ -172,7 +172,7 @@ AboutDlgProc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM lParam)
         case IDC_ABT_LICENSE_TEXT:
         case IDC_ABT_WEB_LINK:
             SetBkColor((HDC)wParam, GetSysColor(COLOR_WINDOW));
-            return (INT_PTR)CreateSolidBrush(GetSysColor(COLOR_WINDOW));
+            return (INT_PTR)GetSysColorBrush(COLOR_WINDOW);
         }
         break;
     }




More information about the wine-cvs mailing list