Author: jpobst
Date: 2007-11-01 15:51:27 -0500 (Thu, 01 Nov 2007)
New Revision: 88682
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs
Log:
2007-11-01 Jonathan Pobst <[EMAIL PROTECTED]>
* ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost,
clicking
on the non-hosted-control part of it shouldn't do anything.
Fixes part of bug #327498.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-01 20:12:23 UTC (rev 88681)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-11-01 20:51:27 UTC (rev 88682)
@@ -1,3 +1,9 @@
+2007-11-01 Jonathan Pobst <[EMAIL PROTECTED]>
+
+ * ToolStrip.cs: Don't process MouseUp for a ToolStripControlHost,
clicking
+ on the non-hosted-control part of it shouldn't do anything.
+ Fixes part of bug #327498.
+
2007-11-01 Andreia Gaita <[EMAIL PROTECTED]>
* WebBrowserBase.cs: revert previous change, resize can be called
anytime
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs
2007-11-01 20:12:23 UTC (rev 88681)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ToolStrip.cs
2007-11-01 20:51:27 UTC (rev 88682)
@@ -943,7 +943,7 @@
protected override void OnMouseUp (MouseEventArgs mea)
{
// If we're currently over an item (set in MouseMove)
- if (mouse_currently_over != null) {
+ if (mouse_currently_over != null &&
!(mouse_currently_over is ToolStripControlHost)) {
// Fire our ItemClicked event
OnItemClicked (new
ToolStripItemClickedEventArgs (mouse_currently_over));
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches