Author: zoltan
Date: 2005-06-08 04:40:12 -0400 (Wed, 08 Jun 2005)
New Revision: 45624
Modified:
trunk/mcs/class/System/System.ComponentModel/ChangeLog
trunk/mcs/class/System/System.ComponentModel/ToolboxItemAttribute.cs
Log:
2005-06-08 Zoltan Varga <[EMAIL PROTECTED]>
* ToolboxItemAttribute.cs: Revert last change as it breaks the build.
Modified: trunk/mcs/class/System/System.ComponentModel/ChangeLog
===================================================================
--- trunk/mcs/class/System/System.ComponentModel/ChangeLog 2005-06-08
08:28:36 UTC (rev 45623)
+++ trunk/mcs/class/System/System.ComponentModel/ChangeLog 2005-06-08
08:40:12 UTC (rev 45624)
@@ -1,3 +1,7 @@
+2005-06-08 Zoltan Varga <[EMAIL PROTECTED]>
+
+ * ToolboxItemAttribute.cs: Revert last change as it breaks the build.
+
2005-06-08 Gonzalo Paniagua Javier <[EMAIL PROTECTED]>
* ToolboxItemAttribute.cs: fix default type name.
Modified: trunk/mcs/class/System/System.ComponentModel/ToolboxItemAttribute.cs
===================================================================
--- trunk/mcs/class/System/System.ComponentModel/ToolboxItemAttribute.cs
2005-06-08 08:28:36 UTC (rev 45623)
+++ trunk/mcs/class/System/System.ComponentModel/ToolboxItemAttribute.cs
2005-06-08 08:40:12 UTC (rev 45624)
@@ -35,7 +35,7 @@
[AttributeUsage(AttributeTargets.All)]
public class ToolboxItemAttribute : Attribute
{
- static string defaultItemType;
+ private static string defaultItemType =
"System.Drawing.Design.ToolboxItem,System.Drawing";
public static readonly ToolboxItemAttribute Default = new
ToolboxItemAttribute (defaultItemType);
public static readonly ToolboxItemAttribute None = new
ToolboxItemAttribute (false);
@@ -43,11 +43,6 @@
private Type itemType;
private string itemTypeName;
- static ToolboxItemAttribute ()
- {
- defaultItemType = "System.Drawing.Desing.ToolboxItem" +
AssemblySystem_Drawing;
- }
-
public ToolboxItemAttribute (bool defaultType)
{
if (defaultType)
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches