comctl32/button: Remove useless calculation for drawing group boxes.

Signed-off-by: Zhiyi Zhang <zzhang@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Zhiyi Zhang 2021-11-02 15:17:45 +08:00 committed by Alexandre Julliard
parent c90edc19bb
commit ff5f45f444
1 changed files with 0 additions and 4 deletions

View File

@ -2113,10 +2113,6 @@ static void GB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action )
labelRect.right++; labelRect.right++;
labelRect.bottom++; labelRect.bottom++;
FillRect(hDC, &labelRect, hbr); FillRect(hDC, &labelRect, hbr);
labelRect.left++;
labelRect.right--;
labelRect.bottom--;
BUTTON_DrawLabel(infoPtr, hDC, dtFlags, &imageRect, &textRect); BUTTON_DrawLabel(infoPtr, hDC, dtFlags, &imageRect, &textRect);
} }
SelectClipRgn( hDC, hrgn ); SelectClipRgn( hDC, hrgn );