Author: rolf
Date: 2006-12-11 19:39:03 -0500 (Mon, 11 Dec 2006)
New Revision: 69377

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
Log:
2006-12-11  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>

        * MenuAPI.cs: Deselect a menu item after performing
        the click (fixes #80197).



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-12 00:30:11 UTC (rev 69376)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-12 00:39:03 UTC (rev 69377)
@@ -1,3 +1,8 @@
+2006-12-11  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
+       * MenuAPI.cs: Deselect a menu item after performing
+       the click (fixes #80197).
+
 2006-12-11  Jackson Harper  <[EMAIL PROTECTED]>
 
        * TextBoxBase.cs: We need to cap this value, since Maximum -

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs       
2006-12-12 00:30:11 UTC (rev 69376)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs       
2006-12-12 00:39:03 UTC (rev 69377)
@@ -200,8 +200,8 @@
                                
                        /* Perform click when is not a popup */
                        if (!item.IsPopup) {
-                               DeselectItem (item);
-                               item.PerformClick ();
+                               item.PerformClick( );
+                               DeselectItem(item);
                        }
                }
 

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

Reply via email to