From f0ee2d1f474d43fd920790239c337145b160885d Mon Sep 17 00:00:00 2001 From: Jackson Harper Date: Fri, 29 Apr 2005 16:26:05 +0000 Subject: [PATCH] * ThemeWin32Classic.cs: Remove some old debug code that was causing flicker with the new double buffering code. svn path=/trunk/mcs/; revision=43794 --- .../Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 5 +++++ .../System.Windows.Forms/ThemeWin32Classic.cs | 4 +--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index efdc3604fee..a5bfdfa48ee 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 @@ +2005-04-29 Jackson Harper + + * ThemeWin32Classic.cs: Remove some old debug code that was + causing flicker with the new double buffering code. + 2005-04-29 John BouAntoun * MonthCalendar.cs, DateTimePicker.cs: Made monthcalendar dropdwon diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs index 9409bdf746a..dc8dc6c12ad 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs @@ -5096,9 +5096,7 @@ namespace System.Windows.Forms return; } - - dc.FillRectangle (ThemeEngine.Current.ResPool.GetSolidBrush (Color.Blue), area); - + dc.FillRectangle (ResPool.GetSolidBrush (ColorButtonFace), area.X, area.Y, area.Width, 1); dc.FillRectangle (ResPool.GetSolidBrush (ColorButtonFace), area.X, area.Y, 1, area.Height); -- 2.25.1