Commit 743045b2 authored by Zhiyi Zhang's avatar Zhiyi Zhang Committed by Alexandre Julliard

comctl32/button: Remove useless calculation when drawing themed group boxes.

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