* need
to reset top_node so calcs can still happen.
svn path=/trunk/mcs/; revision=58279
* TabControl.cs: Remove the call to ProcessKeyEventArgs and let
control handle this.
+ * TreeNodeCollection.cs: If we are clearing the root node we need
+ to reset top_node so calcs can still happen.
2006-03-21 Jackson Harper <jackson@ximian.com>
TreeView tree_view = null;
if (owner != null) {
tree_view = owner.TreeView;
+ if (owner.IsRoot)
+ tree_view.top_node = null;
if (tree_view != null)
tree_view.UpdateBelow (owner);
}