Author: jpobst
Date: 2007-12-03 20:48:13 -0500 (Mon, 03 Dec 2007)
New Revision: 90615

Modified:
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
   trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
Log:
2007-12-03  Jonathan Pobst  <[EMAIL PROTECTED]>

        * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
        so custom renderers can correctly place it.

Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-12-04 01:21:30 UTC (rev 90614)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog        
2007-12-04 01:48:13 UTC (rev 90615)
@@ -1,5 +1,10 @@
 2007-12-03  Jonathan Pobst  <[EMAIL PROTECTED]>
 
+       * StatusStrip.cs: Fill in AffectedBounds when drawing the grip
+       so custom renderers can correctly place it.
+
+2007-12-03  Jonathan Pobst  <[EMAIL PROTECTED]>
+
        * Application.cs: Let WM_CHAR messages flow through to controls
        hosted in Strips.  [Fixes bug #343972]
 

Modified: 
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs   
2007-12-04 01:21:30 UTC (rev 90614)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/StatusStrip.cs   
2007-12-04 01:48:13 UTC (rev 90615)
@@ -155,7 +155,7 @@
                        base.OnPaintBackground (pevent);
                        
                        if (this.sizing_grip)
-                               this.Renderer.DrawStatusStripSizingGrip (new 
ToolStripRenderEventArgs (pevent.Graphics, this));
+                               this.Renderer.DrawStatusStripSizingGrip (new 
ToolStripRenderEventArgs (pevent.Graphics, this, Bounds, SystemColors.Control));
                }
 
                protected virtual void OnSpringTableLayoutCore ()

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

Reply via email to