Author: rolf
Date: 2006-12-11 19:44:18 -0500 (Mon, 11 Dec 2006)
New Revision: 69379

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
Log:
        * MdiClient.cs: Resume Layout before setting window
        states (fixes #80201).

2006-12-11  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-12 00:40:52 UTC (rev 69378)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2006-12-12 00:44:18 UTC (rev 69379)
@@ -1,5 +1,10 @@
 2006-12-11  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
 
+       * MdiClient.cs: Resume Layout before setting window
+       states (fixes #80201).
+
+2006-12-11  Rolf Bjarne Kvinge  <[EMAIL PROTECTED]>
+
        * MenuAPI.cs: Deselect a menu item after performing
        the click (fixes #80197).
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2006-12-12 00:40:52 UTC (rev 69378)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/MdiClient.cs     
2006-12-12 00:44:18 UTC (rev 69379)
@@ -595,8 +595,8 @@
                                XplatUI.SetZOrder (vbar.Handle, IntPtr.Zero, 
true, false);
                        if (hbar != null && hbar.Visible)
                                XplatUI.SetZOrder (hbar.Handle, IntPtr.Zero, 
true, false);
+                       form.ResumeLayout(false);
                        SetWindowStates ((MdiWindowManager) 
form.window_manager);
-                       form.ResumeLayout (false);
                        if (current != form) {
                                form.has_focus = false;
                                XplatUI.InvalidateNC (current.Handle);

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

Reply via email to