Author: jackson
Date: 2006-05-18 19:17:00 -0400 (Thu, 18 May 2006)
New Revision: 60850

Modified:
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:

        Accidently checked in wrong rectangle size.



Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-05-18 23:10:44 UTC (rev 60849)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2006-05-18 23:17:00 UTC (rev 60850)
@@ -4271,7 +4271,7 @@
                        if (wm.HasBorders) {
                                Rectangle borders = new Rectangle (0, 0, 
form.Width, form.Height);
                                // The 3d border is only 2 pixels wide, so we 
draw the innermost pixel ourselves
-                               dc.DrawRectangle (new Pen (ColorControl, 1), 2, 
2, form.Width - 3, form.Height - 3);
+                               dc.DrawRectangle (new Pen (ColorControl, 1), 2, 
2, form.Width - 5, form.Height - 5);
                                ControlPaint.DrawBorder3D (dc, borders, 
Border3DStyle.Raised);
                        }
 

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

Reply via email to