diff dwt/dnd/DropTarget.d @ 212:ab60f3309436

reverted the char[] to String and use the an alias.
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:12:38 +0200
parents 3665cb9211b2
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/dnd/DropTarget.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/dnd/DropTarget.d	Mon May 05 00:12:38 2008 +0200
@@ -114,8 +114,8 @@
     _IDropTargetImpl iDropTarget;
     int refCount;
 
-    static final char[] DEFAULT_DROP_TARGET_EFFECT = "DEFAULT_DROP_TARGET_EFFECT"; //$NON-NLS-1$
-    static final char[] DROPTARGETID = "DropTarget"; //$NON-NLS-1$
+    static final String DEFAULT_DROP_TARGET_EFFECT = "DEFAULT_DROP_TARGET_EFFECT"; //$NON-NLS-1$
+    static final String DROPTARGETID = "DropTarget"; //$NON-NLS-1$
 
 /**
  * Creates a new <code>DropTarget</code> to allow data to be dropped on the specified
@@ -243,8 +243,8 @@
 }
 
 protected void checkSubclass () {
-    char[] name = this.classinfo.name;
-    char[] validName = DropTarget.classinfo.name;
+    String name = this.classinfo.name;
+    String validName = DropTarget.classinfo.name;
     if (validName!=/*eq*/name) {
         DND.error (DWT.ERROR_INVALID_SUBCLASS);
     }