Module: wine Branch: master Commit: 743045b279bfe8f82de5cd883e666961feb78b07 URL: https://source.winehq.org/git/wine.git/?a=commit;h=743045b279bfe8f82de5cd883...
Author: Zhiyi Zhang zzhang@codeweavers.com Date: Thu Dec 9 16:12:59 2021 +0800
comctl32/button: Remove useless calculation when drawing themed group boxes.
Signed-off-by: Zhiyi Zhang zzhang@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
dlls/comctl32/button.c | 3 --- 1 file changed, 3 deletions(-)
diff --git a/dlls/comctl32/button.c b/dlls/comctl32/button.c index d537629fa35..9e0ed8a8987 100644 --- a/dlls/comctl32/button.c +++ b/dlls/comctl32/button.c @@ -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);