Author: jackson
Date: 2005-04-29 17:48:47 -0400 (Fri, 29 Apr 2005)
New Revision: 43807

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
Log:
        * ThemeWin32Classic.cs: Don't clear the GC that will clear the
        entire image buffer. Just clear the clipping rectangle.



Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-29 21:12:06 UTC (rev 43806)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2005-04-29 21:48:47 UTC (rev 43807)
@@ -1,5 +1,10 @@
 2005-04-29  Jackson Harper  <[EMAIL PROTECTED]>
 
+       * ThemeWin32Classic.cs: Don't clear the GC that will clear the
+       entire image buffer. Just clear the clipping rectangle.
+
+2005-04-29  Jackson Harper  <[EMAIL PROTECTED]>
+
        * ThemeWin32Classic.cs: Don't draw list view items that are
        outside the clipping rectangle.
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
===================================================================
--- 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2005-04-29 21:12:06 UTC (rev 43806)
+++ 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs 
    2005-04-29 21:48:47 UTC (rev 43807)
@@ -1109,8 +1109,7 @@
                {
                        bool details = (control.View == View.Details);
 
-                       // Clear the graphics context
-                       dc.Clear (control.BackColor);
+                       dc.FillRectangle (ResPool.GetSolidBrush 
(control.BackColor), clip);
 
                        // border is drawn directly in the Paint method
                        if (details && control.HeaderStyle != 
ColumnHeaderStyle.None) {

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

Reply via email to