Show
Ignore:
Timestamp:
05/04/08 18:12:38 (8 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted the char[] to String and use the an alias.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/dnd/DragSource.d

    r194 r212  
    142142    int dataEffect = DND.DROP_NONE; 
    143143 
    144     static const char[] DEFAULT_DRAG_SOURCE_EFFECT = "DEFAULT_DRAG_SOURCE_EFFECT"; //$NON-NLS-1$ 
    145     static const char[] DRAGSOURCEID = "DragSource"; //$NON-NLS-1$ 
     144    static const String DEFAULT_DRAG_SOURCE_EFFECT = "DEFAULT_DRAG_SOURCE_EFFECT"; //$NON-NLS-1$ 
     145    static const String DRAGSOURCEID = "DragSource"; //$NON-NLS-1$ 
    146146    static const int CFSTR_PERFORMEDDROPEFFECT; 
    147147    static final TCHAR[] WindowClass = "#32770\0"; 
     
    276276 
    277277protected void checkSubclass() { 
    278     char[] name = this.classinfo.name; 
    279     char[] validName = DragSource.classinfo.name; 
     278    String name = this.classinfo.name; 
     279    String validName = DragSource.classinfo.name; 
    280280    if (validName!=/*eq*/name) { 
    281281        DND.error(DWT.ERROR_INVALID_SUBCLASS); 
     
    301301    int operations = opToOs(getStyle()); 
    302302    Display display = control.getDisplay(); 
    303     char[] key = "dwt.internal.win32.runMessagesInIdle"; //$NON-NLS-1$ 
     303    String key = "dwt.internal.win32.runMessagesInIdle"; //$NON-NLS-1$ 
    304304    Object oldValue = display.getData(key); 
    305305    display.setData(key, new ValueWrapperBool(true));