From 7782c3ceff6a02f17aade5cf78902c7451447c02 Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Wed, 1 Nov 2006 20:34:17 +0000 Subject: [PATCH] * 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). svn path=/trunk/mcs/; revision=67240 --- mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 6 ++++++ .../Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index a20c3c8f1c3..124d711aa95 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,9 @@ +2006-11-01 Jackson Harper + + * 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 * XplatUIX11.cs: revert the #79790 fix, as the simple. diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs index acea9d3c944..12eb39e1706 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs @@ -1590,7 +1590,7 @@ namespace System.Windows.Forms { } } else - SetVisible (handle, c.Visible, true); + SetVisible (handle, c.is_visible, true); return Win32SetParent(handle, parent); } -- 2.11.4.GIT