mirror of
https://github.com/reactos/reactos.git
synced 2024-10-31 03:48:17 +00:00
remove unnecessary paint code
svn path=/trunk/; revision=15865
This commit is contained in:
parent
ed5cf2efc8
commit
bef9eaff74
|
@ -3153,13 +3153,7 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
|
||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
LineTo(dis->hDC, x, dis->rcItem.bottom);
|
LineTo(dis->hDC, x, dis->rcItem.bottom);
|
||||||
/*@@
|
|
||||||
if (entry->down && entry->expanded) {
|
|
||||||
x += IMAGE_WIDTH+TREE_LINE_DX;
|
|
||||||
MoveToEx(dis->hDC, x, dis->rcItem.top+IMAGE_HEIGHT, 0);
|
|
||||||
LineTo(dis->hDC, x, dis->rcItem.bottom);
|
|
||||||
}
|
|
||||||
*/
|
|
||||||
SelectClipRgn(dis->hDC, hrgn_org);
|
SelectClipRgn(dis->hDC, hrgn_org);
|
||||||
if (hrgn_org) DeleteObject(hrgn_org);
|
if (hrgn_org) DeleteObject(hrgn_org);
|
||||||
/* SelectObject(dis->hDC, holdPen); */
|
/* SelectObject(dis->hDC, holdPen); */
|
||||||
|
|
Loading…
Reference in a new issue