Author: jackson
Date: 2005-04-27 13:23:50 -0400 (Wed, 27 Apr 2005)
New Revision: 43668
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 fill the background for picture
boxes. This could overright user drawing.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-27 17:00:27 UTC (rev 43667)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-27 17:23:50 UTC (rev 43668)
@@ -2,6 +2,8 @@
* Control.cs: Make sure that the first WM_PAINT does a full draw,
not just a blit.
+ * ThemeWin32Classic.cs: Don't fill the background for picture
+ boxes. This could overright user drawing.
2005-04-26 Jordi Mas i Hernandez <[EMAIL PROTECTED]>
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-27 17:00:27 UTC (rev 43667)
+++
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ThemeWin32Classic.cs
2005-04-27 17:23:50 UTC (rev 43668)
@@ -2213,8 +2213,6 @@
public override void DrawPictureBox (Graphics dc, Rectangle
clip, PictureBox pb) {
Rectangle client = pb.ClientRectangle;
- dc.FillRectangle
(ThemeEngine.Current.ResPool.GetSolidBrush (pb.BackColor), clip);
-
if (pb.Image != null) {
switch (pb.SizeMode) {
case PictureBoxSizeMode.StretchImage:
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches