Grow the treeview control expander button by 1px in each direction to

match the native look.
This commit is contained in:
Mike Hearn 2004-02-16 22:19:29 +00:00 committed by Alexandre Julliard
parent d3383740d6
commit d04f253aa9

View File

@ -2289,8 +2289,8 @@ TREEVIEW_DrawItemLines(TREEVIEW_INFO *infoPtr, HDC hdc, TREEVIEW_ITEM *item)
HBRUSH hbr = CreateSolidBrush(infoPtr->clrBk);
HBRUSH hbrOld = SelectObject(hdc, hbr);
Rectangle(hdc, centerx - rectsize, centery - rectsize,
centerx + rectsize + 1, centery + rectsize + 1);
Rectangle(hdc, centerx - rectsize - 1, centery - rectsize - 1,
centerx + rectsize + 2, centery + rectsize + 2);
SelectObject(hdc, hbrOld);
DeleteObject(hbr);