Author: ivanz
Date: 2008-02-16 09:35:03 -0500 (Sat, 16 Feb 2008)
New Revision: 95876
Modified:
trunk/mcs/class/System.Drawing/System.Drawing.Design/ChangeLog
trunk/mcs/class/System.Drawing/System.Drawing.Design/UITypeEditor.cs
Log:
2008-02-16 Ivan N. Zlatev <[EMAIL PROTECTED]>
* UITypeEditor.cs: Associate string[] with StringArrayEditor in the
editors table.
[Part of fix for bugs #360666 and #358332]
Modified: trunk/mcs/class/System.Drawing/System.Drawing.Design/ChangeLog
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Design/ChangeLog
2008-02-16 14:30:15 UTC (rev 95875)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Design/ChangeLog
2008-02-16 14:35:03 UTC (rev 95876)
@@ -1,3 +1,9 @@
+2008-02-16 Ivan N. Zlatev <[EMAIL PROTECTED]>
+
+ * UITypeEditor.cs: Associate string[] with StringArrayEditor in the
+ editors table.
+ [Part of fix for bugs #360666 and #358332]
+
2007-07-10 Rolf Bjarne Kvinge <[EMAIL PROTECTED]>
* UITypeEditor.cs: Add a table of special editors (types that can't use
Modified: trunk/mcs/class/System.Drawing/System.Drawing.Design/UITypeEditor.cs
===================================================================
--- trunk/mcs/class/System.Drawing/System.Drawing.Design/UITypeEditor.cs
2008-02-16 14:30:15 UTC (rev 95875)
+++ trunk/mcs/class/System.Drawing/System.Drawing.Design/UITypeEditor.cs
2008-02-16 14:35:03 UTC (rev 95876)
@@ -47,6 +47,7 @@
editors [typeof (DateTime)] =
"System.ComponentModel.Design.DateTimeEditor, " + Consts.AssemblySystem_Design;
editors [typeof (IList)] =
"System.ComponentModel.Design.CollectionEditor, " +
Consts.AssemblySystem_Design;
editors [typeof (ICollection)] =
"System.ComponentModel.Design.CollectionEditor, " +
Consts.AssemblySystem_Design;
+ editors [typeof (string[])] =
"System.Windows.Forms.Design.StringArrayEditor, " +
Consts.AssemblySystem_Design;
TypeDescriptor.AddEditorTable (typeof (UITypeEditor),
editors);
}
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches