mirror of
git://source.winehq.org/git/wine.git
synced 2024-10-06 16:45:48 +00:00
comctl32/button: Remove useless calculation when drawing themed group boxes.
Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
d112d746c7
commit
743045b279
|
@ -2922,9 +2922,6 @@ static void GB_ThemedPaint(HTHEME theme, const BUTTON_INFO *infoPtr, HDC hDC, in
|
|||
|
||||
if (dtFlags != (UINT)-1)
|
||||
{
|
||||
contentRect.left--;
|
||||
contentRect.right++;
|
||||
contentRect.bottom++;
|
||||
if (textRegion)
|
||||
{
|
||||
SelectClipRgn(hDC, textRegion);
|
||||
|
|
Loading…
Reference in a new issue