comctl32/treeview: check for child item before SendExpanding
In TREEVIEW_Collapse the TREEVIEW_SendExpanding call could change the item->firstChild value, therefore check it before for early return.
In TREEVIEW_Collapse the TREEVIEW_SendExpanding call could change the item->firstChild value, therefore check it before for early return.