From 10a936150bb2ddcb63dae88f42a9536e0ebbb3c0 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Mon, 20 Apr 2009 07:37:33 -0400 Subject: [PATCH] comctl32/listview: Slightly enlarge rectangle when drawing checkbox. --- dlls/comctl32/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index c5261e1d7c9..26f9ef30726 100644 --- a/dlls/comctl32/listview.c +++ b/dlls/comctl32/listview.c @@ -7209,7 +7209,7 @@ static HIMAGELIST LISTVIEW_CreateCheckBoxIL(const LISTVIEW_INFO *infoPtr) hbm_orig = SelectObject(hdc, hbm_mask); FillRect(hdc, &rc, hbr_white); - InflateRect(&rc, -3, -3); + InflateRect(&rc, -2, -2); FillRect(hdc, &rc, hbr_black); SelectObject(hdc, hbm_im);