Nikolay Sivov : comctl32/listview: Slightly enlarge rectangle when drawing checkbox.
Module: wine Branch: master Commit: 10a936150bb2ddcb63dae88f42a9536e0ebbb3c0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=10a936150bb2ddcb63dae88f42... Author: Nikolay Sivov <bunglehead(a)gmail.com> Date: Mon Apr 20 07:37:33 2009 -0400 comctl32/listview: Slightly enlarge rectangle when drawing checkbox. --- dlls/comctl32/listview.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/dlls/comctl32/listview.c b/dlls/comctl32/listview.c index c5261e1..26f9ef3 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);
participants (1)
-
Alexandre Julliard