Author: jackson
Date: 2006-06-02 15:59:15 -0400 (Fri, 02 Jun 2006)
New Revision: 61420

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: If the selected node isn't changed when we get
        focus update the previously selected node so that we see the
        selection box.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-02 19:39:55 UTC (rev 61419)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-06-02 19:59:15 UTC (rev 61420)
@@ -1,3 +1,9 @@
+2006-06-02  Jackson Harper  <[EMAIL PROTECTED]>
+
+       * TreeView.cs: If the selected node isn't changed when we get
+       focus update the previously selected node so that we see the
+       selection box.
+
 2006-06-02  Mike Kestner  <[EMAIL PROTECTED]>
 
        * ComboBox.cs: restructure grab and general mouse event handling.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs      
2006-06-02 19:39:55 UTC (rev 61419)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs      
2006-06-02 19:59:15 UTC (rev 61420)
@@ -1455,6 +1455,8 @@
                {
                        if (selected_node == null)
                                SelectedNode = top_node;
+                       else
+                               UpdateNode (selected_node);
                }
 
                private void LostFocusHandler (object sender, EventArgs e)

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to