Author: jackson
Date: 2005-04-19 16:55:21 -0400 (Tue, 19 Apr 2005)
New Revision: 43297
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PictureBox.cs
Log:
* PictureBox.cs: Call base OnPaint
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-19 20:53:39 UTC (rev 43296)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-19 20:55:21 UTC (rev 43297)
@@ -1,7 +1,8 @@
2005-04-19 Jackson Harper <[EMAIL PROTECTED]>
* XEventQueue.cs: Lock when getting the lockqueu size.
-
+ * PictureBox.cs: Call base OnPaint
+
2005-04-19 Peter Bartok <[EMAIL PROTECTED]>
* XplatUIX11.cs: Fixed bug introduced with the HWND rewrite, Async
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PictureBox.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PictureBox.cs
2005-04-19 20:53:39 UTC (rev 43296)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/PictureBox.cs
2005-04-19 20:55:21 UTC (rev 43297)
@@ -194,6 +194,8 @@
protected override void OnPaint (PaintEventArgs pe)
{
+ base.OnPaint (pe);
+
if (this.Width <= 0 || this.Height <= 0 ||
this.Visible == false)
return;
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches