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/Button.d

    r152 r238  
    1212 *******************************************************************************/ 
    1313module dwt.widgets.Button; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517import dwt.widgets.Control; 
     
    6365    ImageList imageList; 
    6466    Image image; 
    65     char[] text; 
     67    String text; 
    6668 
    6769/** 
     
    327329} 
    328330 
    329 override char[] getNameText () { 
     331override String getNameText () { 
    330332    return getText (); 
    331333} 
     
    365367 * </ul> 
    366368 */ 
    367 public char[] getText () { 
     369public String getText () { 
    368370    checkWidget(); 
    369371    if ((style & DWT.ARROW) !is 0) return ""; 
     
    754756 * </ul> 
    755757 */ 
    756 public void setText (char[] string) { 
     758public void setText (String string) { 
    757759    checkWidget (); 
    758760    if (string is null) error (DWT.ERROR_NULL_ARGUMENT);