Skip to content
Snippets Groups Projects
Commit ff5f45f4 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard
Browse files

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

parent c90edc19
Branches
Tags
No related merge requests found
......@@ -2113,10 +2113,6 @@ static void GB_Paint( const BUTTON_INFO *infoPtr, HDC hDC, UINT action )
labelRect.right++;
labelRect.bottom++;
FillRect(hDC, &labelRect, hbr);
labelRect.left++;
labelRect.right--;
labelRect.bottom--;
BUTTON_DrawLabel(infoPtr, hDC, dtFlags, &imageRect, &textRect);
}
SelectClipRgn( hDC, hrgn );
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment