Show
Ignore:
Timestamp:
05/04/08 18:42:55 (4 years ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

reverted char[] to String

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/widgets/Item.d

    r158 r238  
    1212 *******************************************************************************/ 
    1313module dwt.widgets.Item; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517 
     
    3133 
    3234public abstract class Item : Widget { 
    33     char[] text; 
     35    String text; 
    3436    Image image; 
    3537 
     
    120122} 
    121123 
    122 override char[] getNameText () { 
     124override String getNameText () { 
    123125    return getText (); 
    124126} 
     
    135137 * </ul> 
    136138 */ 
    137 public char[] getText () { 
     139public String getText () { 
    138140    checkWidget(); 
    139141    return text; 
     
    179181 * </ul> 
    180182 */ 
    181 public void setText (char[] string) { 
     183public void setText (String string) { 
    182184    checkWidget (); 
    183185    if (string is null) error (DWT.ERROR_NULL_ARGUMENT);