Author: rolf
Date: 2007-03-30 05:44:38 -0500 (Fri, 30 Mar 2007)
New Revision: 75183

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
Log:
* Form.cs: Don't layout mdi children on MdiParent creation, the initial
  layout of the mdi children is handled by CreateParams. Fixes
  #79964,

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-30 10:34:40 UTC (rev 75182)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-03-30 10:44:38 UTC (rev 75183)
@@ -1,3 +1,9 @@
+2007-03-30  Rolf Bjarne Kvinge <[EMAIL PROTECTED]> 
+
+       * Form.cs: Don't layout mdi children on MdiParent creation, the initial
+         layout of the mdi children is handled by CreateParams. Fixes
+         #79964,
+
 2007-03-29  Everaldo Canuto  <[EMAIL PROTECTED]>
 
        * MenuAPI.cs: Make OnMouseDown returns a boolean to identify if event is

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-03-30 10:34:40 UTC (rev 75182)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2007-03-30 10:44:38 UTC (rev 75183)
@@ -1742,10 +1742,6 @@
                        
                        // Send initial location
                        OnLocationChanged(EventArgs.Empty);
-
-                       if (IsMdiContainer) {
-                               mdi_container.LayoutMdi (MdiLayout.Cascade);
-                       }
                }
 
                [EditorBrowsable(EditorBrowsableState.Advanced)]

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to