+2005-06-08 Gonzalo Paniagua Javier <gonzalo@ximian.com>
+
+ * ToolboxItemAttribute.cs: fix the fix that was fixed before.
+
2005-06-08 Zoltan Varga <vargaz@freemail.hu>
* ToolboxItemAttribute.cs: Revert last change as it breaks the build.
[AttributeUsage(AttributeTargets.All)]
public class ToolboxItemAttribute : Attribute
{
- private static string defaultItemType = "System.Drawing.Design.ToolboxItem,System.Drawing";
+ static string defaultItemType;
public static readonly ToolboxItemAttribute Default = new ToolboxItemAttribute (defaultItemType);
public static readonly ToolboxItemAttribute None = new ToolboxItemAttribute (false);
private Type itemType;
private string itemTypeName;
+ static ToolboxItemAttribute ()
+ {
+ defaultItemType = "System.Drawing.Desing.ToolboxItem" + Consts.AssemblySystem_Drawing;
+ }
+
public ToolboxItemAttribute (bool defaultType)
{
if (defaultType)