comctl32/listview: Slightly enlarge rectangle when drawing checkbox.
This commit is contained in:
parent
ffb214a66b
commit
10a936150b
|
@ -7209,7 +7209,7 @@ static HIMAGELIST LISTVIEW_CreateCheckBoxIL(const LISTVIEW_INFO *infoPtr)
|
||||||
|
|
||||||
hbm_orig = SelectObject(hdc, hbm_mask);
|
hbm_orig = SelectObject(hdc, hbm_mask);
|
||||||
FillRect(hdc, &rc, hbr_white);
|
FillRect(hdc, &rc, hbr_white);
|
||||||
InflateRect(&rc, -3, -3);
|
InflateRect(&rc, -2, -2);
|
||||||
FillRect(hdc, &rc, hbr_black);
|
FillRect(hdc, &rc, hbr_black);
|
||||||
|
|
||||||
SelectObject(hdc, hbm_im);
|
SelectObject(hdc, hbm_im);
|
||||||
|
|
Loading…
Reference in New Issue