Author: gnorton
Date: 2008-01-23 20:58:22 -0500 (Wed, 23 Jan 2008)
New Revision: 93758
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
Log:
In System.Windows.Forms:
2008-01-23 Geoff Norton <[EMAIL PROTECTED]>
* XplatUICarbon.cs: Ensure that windows are created in their initial
FormWindowState. Finished fixing Fullscreen windows on Carbon
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-01-24 01:44:10 UTC (rev 93757)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2008-01-24 01:58:22 UTC (rev 93758)
@@ -1,3 +1,8 @@
+2008-01-23 Geoff Norton <[EMAIL PROTECTED]>
+
+ * XplatUICarbon.cs: Ensure that windows are created in their initial
+ FormWindowState. Finished fixing Fullscreen windows on Carbon
+
2008-01-23 Everaldo Canuto <[EMAIL PROTECTED]>
* MenuAPI.cs: When FindForm fails uses FindRootParent to find the
control to
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
2008-01-24 01:44:10 UTC (rev 93757)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/XplatUICarbon.cs
2008-01-24 01:58:22 UTC (rev 93758)
@@ -1043,6 +1043,12 @@
}
}
+ if (StyleSet (cp.Style, WindowStyles.WS_MINIMIZE)) {
+ SetWindowState(hwnd.Handle,
FormWindowState.Minimized);
+ } else if (StyleSet (cp.Style,
WindowStyles.WS_MAXIMIZE)) {
+ SetWindowState(hwnd.Handle,
FormWindowState.Maximized);
+ }
+
return hwnd.Handle;
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches