Commit ff5f45f4 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

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

parent c90edc19
......@@ -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 );
......
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