Author: everaldo
Date: 2007-09-05 05:37:09 -0400 (Wed, 05 Sep 2007)
New Revision: 85342
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
Log:
2007-09-05 Everaldo Canuto <[EMAIL PROTECTED]>
* Control.cs: Update zorder after control creation in SetVisibleCore,
it
fix zorder for controls initially created as non visible. Fixes #82667.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-09-05 09:31:17 UTC (rev 85341)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-09-05 09:37:09 UTC (rev 85342)
@@ -1,3 +1,8 @@
+2007-09-05 Everaldo Canuto <[EMAIL PROTECTED]>
+
+ * Control.cs: Update zorder after control creation in SetVisibleCore,
it
+ fix zorder for controls initially created as non visible. Fixes #82667.
+
2007-09-04 Everaldo Canuto <[EMAIL PROTECTED]>
* ThemeWin32Classic.cs: Adjust checkbox light color to
ControlLightLight to
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2007-09-05 09:31:17 UTC (rev 85341)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Control.cs
2007-09-05 09:37:09 UTC (rev 85342)
@@ -4750,6 +4750,7 @@
if (is_visible && ((window.Handle ==
IntPtr.Zero) || !is_created)) {
CreateControl();
+ UpdateZOrder ();
}
if (IsHandleCreated) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches