Commit 845113c6 authored by Pavel Roskin's avatar Pavel Roskin Committed by Alexandre Julliard

Pushbuttons should only be rounded in Win31 look.

parent 466a6520
......@@ -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) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment