Author: everaldo
Date: 2008-02-05 16:03:53 -0500 (Tue, 05 Feb 2008)
New Revision: 94950
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
Log:
2008-02-05 Everaldo Canuto <[EMAIL PROTECTED]>
[Backport to 1.9]
* MenuAPI.cs: Check if control is disposable when track popup menu.
Thanks
Jonathan for this patch. Fixes #358442.
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 20:59:01 UTC (rev 94949)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-05 21:03:53 UTC (rev 94950)
@@ -1,3 +1,9 @@
+2008-02-05 Everaldo Canuto <[EMAIL PROTECTED]>
+
+ [Backport to 1.9]
+ * MenuAPI.cs: Check if control is disposable when track popup menu.
Thanks
+ Jonathan for this patch. Fixes #358442.
+
2008-02-05 Ivan N. Zlatev <[EMAIL PROTECTED]>
[Backport to 1.9]
Modified:
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
===================================================================
---
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
2008-02-05 20:59:01 UTC (rev 94949)
+++
branches/mono-1-9/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MenuAPI.cs
2008-02-05 21:03:53 UTC (rev 94950)
@@ -282,7 +282,10 @@
XplatUI.TranslateMessage(ref msg);
XplatUI.DispatchMessage(ref msg);
}
-
+
+ if (tracker.grab_control.IsDisposed)
+ return true;
+
if (captured)
tracker.grab_control.Capture = true;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches