Author: jackson
Date: 2005-12-13 17:39:02 -0500 (Tue, 13 Dec 2005)
New Revision: 54328

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: Update styles after setting the border style regardless
        of whether or not the window is using a window manager.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-12-13 22:19:02 UTC (rev 54327)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-12-13 22:39:02 UTC (rev 54328)
@@ -1,5 +1,10 @@
 2005-12-13  Jackson Harper  <[EMAIL PROTECTED]>
 
+       * Form.cs: Update styles after setting the border style regardless
+       of whether or not the window is using a window manager.
+
+2005-12-13  Jackson Harper  <[EMAIL PROTECTED]>
+
        * Form.cs: We now hook into an internal window manager instead of just 
an
        MDI subsystem, this is so we can have properly behaving tool windows.
        * MdiClient.cs: Naming change, MdiChildContext is now WindowManager

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2005-12-13 22:19:02 UTC (rev 54327)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/Form.cs  
2005-12-13 22:39:02 UTC (rev 54328)
@@ -329,7 +329,6 @@
                                        if (IsHandleCreated) {
                                                
XplatUI.SetBorderStyle(window.Handle, form_border_style);
                                        }
-                                       UpdateStyles();
 
                                        if (value == 
FormBorderStyle.FixedToolWindow ||
                                                        value == 
FormBorderStyle.SizableToolWindow)
@@ -337,6 +336,8 @@
                                } else {
                                        window_manager.UpdateBorderStyle 
(value);
                                }
+
+                               UpdateStyles();
                        }
                }
 

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

Reply via email to