From f9c20b65929eb1fbb0568c1d3dc08e53bf04cd04 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Sat, 26 Jun 1999 11:37:18 +0000 Subject: [PATCH] Authors: Chris Morgan , James Abbatiello Only draw a black border around normal buttons when in WIN31_LOOK. --- controls/button.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controls/button.c b/controls/button.c index aa8f0f72bed..826aee8fd22 100644 --- a/controls/button.c +++ b/controls/button.c @@ -320,9 +320,9 @@ static void PB_Paint( WND *wndPtr, HDC hDC, WORD action ) hOldPen = (HPEN)SelectObject(hDC, GetSysColorPen(COLOR_WINDOWFRAME)); hOldBrush =(HBRUSH)SelectObject(hDC,GetSysColorBrush(COLOR_BTNFACE)); SetBkMode(hDC, TRANSPARENT); - Rectangle(hDC, rc.left, rc.top, rc.right, rc.bottom); if (TWEAK_WineLook == WIN31_LOOK) { + Rectangle(hDC, rc.left, rc.top, rc.right, rc.bottom); SetPixel( hDC, rc.left, rc.top, GetSysColor(COLOR_WINDOW) ); SetPixel( hDC, rc.left, rc.bottom-1, GetSysColor(COLOR_WINDOW) ); SetPixel( hDC, rc.right-1, rc.top, GetSysColor(COLOR_WINDOW) ); -- 2.11.4.GIT