Author: pbartok
Date: 2005-02-24 00:18:45 -0500 (Thu, 24 Feb 2005)
New Revision: 41133
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
Log:
2005-02-23 Chris Bacon <[EMAIL PROTECTED]>
* ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-02-24 05:11:08 UTC (rev 41132)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2005-02-24 05:18:45 UTC (rev 41133)
@@ -1,3 +1,7 @@
+2005-02-23 Chris Bacon <[EMAIL PROTECTED]>
+
+ * ListView.cs: Assign owner for ColumnHeader. Patch by Chris Bacon
+
2005-02-23 Jackson Harper <[EMAIL PROTECTED]>
* PropertyManager.cs: Implement property binding. This doesn't
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2005-02-24 05:11:08 UTC (rev 41132)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListView.cs
2005-02-24 05:18:45 UTC (rev 41133)
@@ -1731,6 +1731,7 @@
#region Public Methods
public virtual int Add (ColumnHeader value)
{
+ value.owner = this.owner;
return list.Add (value);
}
@@ -1823,6 +1824,7 @@
if (index < 0 || index >= list.Count)
throw new ArgumentOutOfRangeException
("Index out of range.");
+ value.owner = this.owner;
list.Insert (index, value);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches