diff options
author | Jackson Harper <jackson@novell.com> | 2006-02-28 02:30:46 +0300 |
---|---|---|
committer | Jackson Harper <jackson@novell.com> | 2006-02-28 02:30:46 +0300 |
commit | 9fb0a744993baf9732f235342f59c7ddda89e97e (patch) | |
tree | 45dce1729abb1fca67a207b30a6dee0870de3add /mcs | |
parent | 9a948a55e1b200698edc92e1a3ffaeb4fe1a351a (diff) |
* SizeGrip.cs: Paint the background color before painting the
* grip
so things look right.
svn path=/trunk/mcs/; revision=57361
Diffstat (limited to 'mcs')
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 5 | ||||
-rw-r--r-- | mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs | 1 |
2 files changed, 6 insertions, 0 deletions
diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index 08b274fdbfe..3c5e30262bf 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog @@ -1,3 +1,8 @@ +2006-02-27 Jackson Harper <jackson@ximian.com> + + * SizeGrip.cs: Paint the background color before painting the grip + so things look right. + 2006-02-27 Mike Kestner <mkestner@novell.com> * ListView.cs: diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs index 39219ebc5a7..c2056a6844f 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/SizeGrip.cs @@ -63,6 +63,7 @@ namespace System.Windows.Forms { #region Methods protected override void OnPaint (PaintEventArgs pe) { if (redraw && show_grip) { + pe.Graphics.FillRectangle (new SolidBrush (ThemeEngine.Current.ColorControl), ClientRectangle); ControlPaint.DrawSizeGrip (pe.Graphics, BackColor, ClientRectangle); } base.OnPaint (pe); |