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:
parent
c90edc19bb
commit
ff5f45f444
|
@ -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 );
|
||||||
|
|
Loading…
Reference in New Issue