Author: jackson
Date: 2005-04-18 16:27:41 -0400 (Mon, 18 Apr 2005)
New Revision: 43230
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
Log:
* TreeView.cs: buglet that caused node images to get drawn
regardless of whether or not they were in the clipping rectangle.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-18 18:16:17 UTC (rev 43229)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-04-18 20:27:41 UTC (rev 43230)
@@ -1,5 +1,10 @@
2005-04-18 Jackson Harper <[EMAIL PROTECTED]>
+ * TreeView.cs: buglet that caused node images to get drawn
+ regardless of whether or not they were in the clipping rectangle.
+
+2005-04-18 Jackson Harper <[EMAIL PROTECTED]>
+
* CurrencyManager.cs: There are four rules for GetItemProperties:
- If the type is an array use the element type of the array
- If the type is a typed list, use the type
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2005-04-18 18:16:17 UTC (rev 43229)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/TreeView.cs
2005-04-18 20:27:41 UTC (rev 43230)
@@ -816,7 +816,7 @@
{
Rectangle r = new Rectangle (x, y + 2,
ImageList.ImageSize.Width,
ImageList.ImageSize.Height);
- if (!RectsIntersect (r, x, y + 2,
ImageList.ImageSize.Width, ImageList.ImageSize.Height))
+ if (!RectsIntersect (clip, x, y + 2,
ImageList.ImageSize.Width, ImageList.ImageSize.Height))
return;
if (node.ImageIndex > -1 && ImageList != null &&
node.ImageIndex < ImageList.Images.Count) {
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches