Authors: Chris Morgan <cmorgan@wpi.edu>, James Abbatiello <abbeyj@wpi.edu>

Only draw a black border around normal buttons when in WIN31_LOOK.
This commit is contained in:
Alexandre Julliard 1999-06-26 11:37:18 +00:00
parent 8becc699d1
commit f9c20b6592
1 changed files with 1 additions and 1 deletions

View File

@ -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) );