Author: calberto
Date: 2007-12-06 13:39:11 -0500 (Thu, 06 Dec 2007)
New Revision: 90842
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
Log:
2007-12-06 Carlos Alberto Cortez <[EMAIL PROTECTED]>
* ListViewItem.cs: Forgot to add Font to our serialization stuff.
Modified: trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-12-06 18:37:54 UTC (rev 90841)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
2007-12-06 18:39:11 UTC (rev 90842)
@@ -1,3 +1,7 @@
+2007-12-06 Carlos Alberto Cortez <[EMAIL PROTECTED]>
+
+ * ListViewItem.cs: Forgot to add Font to our serialization stuff.
+
2007-12-05 Andreia Gaita <[EMAIL PROTECTED]>
* Control.cs: When updating the zorder, ignore windows that are not
Modified:
trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
===================================================================
--- trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
2007-12-06 18:37:54 UTC (rev 90841)
+++ trunk/mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
2007-12-06 18:39:11 UTC (rev 90842)
@@ -780,6 +780,7 @@
sub_items.AddRange (si);
}
+ font = (Font) info.GetValue ("font", typeof (Font));
is_checked = info.GetBoolean ("is_checked");
image_index = info.GetInt32 ("image_index");
state_image_index = info.GetInt32 ("state_image_index");
@@ -798,6 +799,7 @@
for (int i = 0; i < sub_items.Count; i++)
info.AddValue ("subitem" + i, sub_items [i]);
+ info.AddValue ("font", Font);
info.AddValue ("image_index", image_index);
info.AddValue ("is_checked", is_checked);
info.AddValue ("state_image_index", state_image_index);
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches