From 845113c624e52e892270d2e5bcac22ca3eed7d5a Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Sun, 2 May 1999 11:21:45 +0000 Subject: [PATCH] Pushbuttons should only be rounded 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 19deeeb75f0..d6ee7ad6861 100644 --- a/controls/button.c +++ b/controls/button.c @@ -323,7 +323,7 @@ static void PB_Paint( WND *wndPtr, HDC hDC, WORD action ) hOldBrush =(HBRUSH)SelectObject(hDC,GetSysColorBrush(COLOR_BTNFACE)); SetBkMode(hDC, TRANSPARENT); Rectangle(hDC, rc.left, rc.top, rc.right, rc.bottom); -/* if (action == ODA_DRAWENTIRE)*/ + if (TWEAK_WineLook == WIN31_LOOK) { SetPixel( hDC, rc.left, rc.top, GetSysColor(COLOR_WINDOW) ); SetPixel( hDC, rc.left, rc.bottom-1, GetSysColor(COLOR_WINDOW) );