From 38512abbe11c6c4928ecd96b13096c858e6885e6 Mon Sep 17 00:00:00 2001 From: Alexander Olk Date: Thu, 4 Jan 2007 20:53:21 +0000 Subject: [PATCH] 2006-01-04 Alexander Olk * FileDialog.cs: Sebastien fixed the libgdiplus png alpha problems. So it is time to bring back the old popupbutton colors. svn path=/trunk/mcs/; revision=70503 --- .../Managed.Windows.Forms/System.Windows.Forms/ChangeLog | 5 +++++ .../Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog index c7247f3aa00..96cc4897982 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-01-04 Alexander Olk + + * FileDialog.cs: Sebastien fixed the libgdiplus png alpha + problems. So it is time to bring back the old popupbutton colors. + 2006-01-04 Carlos Alberto Cortez * ColumnHeader.cs: diff --git a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs index d21faecae6e..479e92bb540 100644 --- a/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs +++ b/mcs/class/Managed.Windows.Forms/System.Windows.Forms/FileDialog.cs @@ -1186,7 +1186,7 @@ namespace System.Windows.Forms { if (text_rect == Rectangle.Empty) text_rect = new Rectangle (0, Height - 30, Width, Height - 30); - gr.DrawString (Text, Font, ThemeEngine.Current.ResPool.GetSolidBrush (ForeColor), text_rect, text_format); + gr.DrawString (Text, Font, Brushes.White, text_rect, text_format); } switch (popupButtonState) { @@ -1257,7 +1257,7 @@ namespace System.Windows.Forms { { SuspendLayout (); - //BackColor = Color.FromArgb (128, 128, 128); + BackColor = Color.FromArgb (128, 128, 128); Size = new Size (85, 336); recentlyusedButton = new PopupButton (); -- 2.25.1