Author: jackson
Date: 2006-11-10 10:48:54 -0500 (Fri, 10 Nov 2006)
New Revision: 67673
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
Log:
* TreeView.cs: Use the currently highlighted node for the
BeforeSelect event.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-10 15:34:08 UTC (rev 67672)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-10 15:48:54 UTC (rev 67673)
@@ -1,3 +1,8 @@
+2006-11-10 Jackson Harper <[EMAIL PROTECTED]>
+
+ * TreeView.cs: Use the currently highlighted node for the
+ BeforeSelect event.
+
2006-11-10 Andreia Gaita <[EMAIL PROTECTED]>
* Button.cs: only perform click when button is Selectable (so as
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2006-11-10 15:34:08 UTC (rev 67672)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2006-11-10 15:48:54 UTC (rev 67673)
@@ -1584,7 +1584,7 @@
}
select_mmove = false;
- TreeViewCancelEventArgs ce = new
TreeViewCancelEventArgs (selected_node, false, TreeViewAction.ByMouse);
+ TreeViewCancelEventArgs ce = new
TreeViewCancelEventArgs (highlighted_node, false, TreeViewAction.ByMouse);
OnBeforeSelect (ce);
Rectangle invalid;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches