Commit cb259593 authored by William Poetra Yoga H's avatar William Poetra Yoga H Committed by Alexandre Julliard

Fix the button edge color, by using the BF_SOFT border style for

buttons.
parent 327ad5f2
......@@ -119,7 +119,7 @@ static const signed char LTRBInnerFlat[] = {
};
/* last COLOR id */
#define COLOR_MAX COLOR_GRADIENTINACTIVECAPTION
#define COLOR_MAX COLOR_MENUBAR
/*********************************************************************
......@@ -697,7 +697,7 @@ static BOOL UITOOLS95_DFC_ButtonPush(HDC dc, LPRECT r, UINT uFlags)
}
else
{
UITOOLS95_DrawRectEdge(dc, r, edge, (uFlags & DFCS_FLAT) | ((uFlags & DFCS_TRANSPARENT) ? 0 : BF_MIDDLE) | BF_RECT);
UITOOLS95_DrawRectEdge(dc, r, edge, (uFlags & DFCS_FLAT) | ((uFlags & DFCS_TRANSPARENT) ? 0 : BF_MIDDLE) | BF_RECT | BF_SOFT);
}
}
......
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