Remove unnecessary paint code.
This commit is contained in:
parent
039beeea8f
commit
afb99013df
|
@ -3089,12 +3089,6 @@ static void draw_item(Pane* pane, LPDRAWITEMSTRUCT dis, Entry* entry, int calcWi
|
|||
)
|
||||
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+2, 0);
|
||||
LineTo(dis->hDC, x, dis->rcItem.bottom);
|
||||
}
|
||||
|
||||
SelectClipRgn(dis->hDC, hrgn_org);
|
||||
if (hrgn_org) DeleteObject(hrgn_org);
|
||||
/* SelectObject(dis->hDC, holdPen); */
|
||||
|
|
Loading…
Reference in New Issue