Hi,
The attached patch fixes the attached Program.cs.
2008-12-17 Bill Holmes <billholme...@gmail.com>
* ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
SubItemStyle member field.
Contributed under MIT/X11 license.
-bill
class Program
{
static void Main (string[] args)
{
System.Windows.Forms.ListViewItem.ListViewSubItem test = new
System.Windows.Forms.ListViewItem.ListViewSubItem ();
test.BackColor = test.BackColor;
test.ForeColor = test.ForeColor;
test.Font = test.Font;
}
}
Index: mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
===================================================================
--- mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
(revision 121702)
+++ mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
(working copy)
@@ -1,3 +1,10 @@
+2008-12-17 Bill Holmes <billholme...@gmail.com>
+
+ * ListViewItem.cs (ListViewSubItem.ctor): Initalizing the
+ SubItemStyle member field.
+
+ Contributed under MIT/X11 license.
+
2008-12-16 Carlos Alberto Cortez <calberto.cor...@gmail.com>
* ListBox.cs: In MultiColumn mode don't use top_index to calculate the
Index: mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
===================================================================
--- mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
(revision 121702)
+++ mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListViewItem.cs
(working copy)
@@ -1223,6 +1223,8 @@
#region Public Constructors
public ListViewSubItem ()
+ : this (null, string.Empty, Color.Empty,
+ Color.Empty, null)
{
}
_______________________________________________
Mono-devel-list mailing list
Mono-devel-list@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-devel-list