Author: pbartok
Date: 2005-03-18 11:45:31 -0500 (Fri, 18 Mar 2005)
New Revision: 41997
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
Log:
2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
* MenuAPI.cs: Remove menu *before* executing selected action to
prevent the menu from 'hanging around'
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-03-18 15:57:18 UTC (rev 41996)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-03-18 16:45:31 UTC (rev 41997)
@@ -1,3 +1,8 @@
+2005-03-18 Peter Bartok <[EMAIL PROTECTED]>
+
+ * MenuAPI.cs: Remove menu *before* executing selected action to
+ prevent the menu from 'hanging around'
+
2005-03-17 Geoff Norton <[EMAIL PROTECTED]>
* XplatUIOSX.cs: Implemented WorkingArea property
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
2005-03-18 15:57:18 UTC (rev 41996)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
2005-03-18 16:45:31 UTC (rev 41997)
@@ -912,10 +912,10 @@
MenuAPI.MENUITEM item = MenuAPI.FindItemByCoords
(hMenu, new Point (e.X, e.Y));
if (item != null) {
- item.item.PerformClick ();
if (item.item.Enabled) {
HideWindow ();
}
+ item.item.PerformClick ();
}
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches