Author: jackson
Date: 2006-06-08 12:33:28 -0400 (Thu, 08 Jun 2006)
New Revision: 61575
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/OpenTreeNodeEnumerator.cs
Log:
* OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
that the treeview and root node checks are done also, this fixes
a
regression i caused in the unit tests.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-08 14:50:38 UTC (rev 61574)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-06-08 16:33:28 UTC (rev 61575)
@@ -1,3 +1,9 @@
+2006-06-08 Jackson Harper <[EMAIL PROTECTED]>
+
+ * OpenTreeNodeEnumerator.cs: Fix to use the Parent property, so
+ that the treeview and root node checks are done also, this fixes a
+ regression i caused in the unit tests.
+
2006-06-07 Wade Berrier <[EMAIL PROTECTED]>
* RichTextBox.cs: More ISO8859-1 -> unicode
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/OpenTreeNodeEnumerator.cs
===================================================================
---
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/OpenTreeNodeEnumerator.cs
2006-06-08 14:50:38 UTC (rev 61574)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/OpenTreeNodeEnumerator.cs
2006-06-08 16:33:28 UTC (rev 61575)
@@ -96,11 +96,10 @@
return true;
}
- if (current.parent == null ||
- current.parent ==
current.TreeView.root_node)
+ if (current.Parent == null)
return false;
- current = current.parent;
+ current = current.Parent;
return true;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches