Author: jackson
Date: 2006-11-01 15:34:17 -0500 (Wed, 01 Nov 2006)
New Revision: 67240
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
Log:
* XplatUIWin32.cs: When setting the parent change the controls
visibility to it's visibility flag, not to it's old parents
visibility (.Visible walks the parent chain).
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-01 20:28:22 UTC (rev 67239)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2006-11-01 20:34:17 UTC (rev 67240)
@@ -1,3 +1,9 @@
+2006-11-01 Jackson Harper <[EMAIL PROTECTED]>
+
+ * XplatUIWin32.cs: When setting the parent change the controls
+ visibility to it's visibility flag, not to it's old parents
+ visibility (.Visible walks the parent chain).
+
2006-11-01 Chris Toshok <[EMAIL PROTECTED]>
* XplatUIX11.cs: revert the #79790 fix, as the simple.
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
2006-11-01 20:28:22 UTC (rev 67239)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
2006-11-01 20:34:17 UTC (rev 67240)
@@ -1590,7 +1590,7 @@
}
}
else
- SetVisible (handle, c.Visible, true);
+ SetVisible (handle, c.is_visible, true);
return Win32SetParent(handle, parent);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches