Pushbuttons should only be rounded in Win31 look.

This commit is contained in:
Pavel Roskin 1999-05-02 11:21:45 +00:00 committed by Alexandre Julliard
parent 466a65205b
commit 845113c624
1 changed files with 1 additions and 1 deletions

View File

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