Author: jpobst
Date: 2007-08-20 13:59:29 -0400 (Mon, 20 Aug 2007)
New Revision: 84479
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
Log:
2007-08-20 Jonathan Pobst <[EMAIL PROTECTED]>
* StatusStrip.cs: Make sure the item's parent gets set in
SetDisplayedItems.
[Fixes bug #82481]
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-08-20 17:40:28 UTC (rev 84478)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-08-20 17:59:29 UTC (rev 84479)
@@ -1,5 +1,10 @@
2007-08-20 Jonathan Pobst <[EMAIL PROTECTED]>
+ * StatusStrip.cs: Make sure the item's parent gets set in
SetDisplayedItems.
+ [Fixes bug #82481]
+
+2007-08-20 Jonathan Pobst <[EMAIL PROTECTED]>
+
* ToolStrip.cs: Add some logic to un-focus controls in
ToolStripControlHosts
when other buttons are clicked or navigated to.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
2007-08-20 17:40:28 UTC (rev 84478)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
2007-08-20 17:59:29 UTC (rev 84479)
@@ -247,12 +247,15 @@
{
this.displayed_items.Clear ();
- foreach (ToolStripItem tsi in this.Items)
+ foreach (ToolStripItem tsi in this.Items) {
+ tsi.Parent = this;
+
if (tsi.Placement ==
ToolStripItemPlacement.Main) {
this.displayed_items.AddNoOwnerOrLayout
(tsi);
tsi.InternalVisible = true;
} else
tsi.InternalVisible = false;
+ }
}
protected override void WndProc (ref Message m)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches