Author: andreia
Date: 2008-02-05 19:22:10 -0500 (Tue, 05 Feb 2008)
New Revision: 94975
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
Log:
2008-02-05 Andreia Gaita <[EMAIL PROTECTED]>
* XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we create
the window so that the check on Control.UpdateZOrderOfChild passes on non-X
platforms. Fixes #359036
Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
platform-specific flags.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-06 00:14:55 UTC (rev 94974)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-02-06 00:22:10 UTC (rev 94975)
@@ -1,3 +1,12 @@
+2008-02-05 Andreia Gaita <[EMAIL PROTECTED]>
+
+ * XplatUIWin32.cs, XplatUICarbon.cs: set the hwnd.Mapped flag when we
create
+ the window so that the check on Control.UpdateZOrderOfChild passes on
non-X
+ platforms. Fixes #359036
+
+ Note: Control.UpdateZOrderOfChild needs to be rewritten to not rely on
+ platform-specific flags.
+
2008-02-05 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* Binding.cs: Add 2.0 BindableComponent property - just return control
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
2008-02-06 00:14:55 UTC (rev 94974)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
2008-02-06 00:22:10 UTC (rev 94975)
@@ -1791,6 +1791,7 @@
HIViewSetVisible (hwnd.client_window, visible);
hwnd.visible = visible;
+ hwnd.Mapped = true;
return true;
}
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
2008-02-06 00:14:55 UTC (rev 94974)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUIWin32.cs
2008-02-06 00:22:10 UTC (rev 94975)
@@ -1596,7 +1596,7 @@
}
hwnd.ClientWindow = WindowHandle;
-
+ hwnd.Mapped = true;
Win32SetWindowLong(WindowHandle,
WindowLong.GWL_USERDATA,
(uint)ThemeEngine.Current.DefaultControlBackColor.ToArgb());
return WindowHandle;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches