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

    r158 r238  
    1212 *******************************************************************************/ 
    1313module dwt.widgets.Control; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517 
     
    9597    Image backgroundImage; 
    9698    Font font; 
    97     char[] toolTipText; 
     99    String toolTipText; 
    98100    Object layoutData; 
    99101    Accessible accessible; 
     
    23122314 * </ul> 
    23132315 */ 
    2314 public char[] getToolTipText () { 
     2316public String getToolTipText () { 
    23152317    checkWidget(); 
    23162318    return toolTipText; 
     
    31973199    auto ptr = OS.gtk_rc_style_get_bg_pixmap_name (style, index); 
    31983200    if (ptr !is null) OS.g_free (ptr); 
    3199     char[] name = color is null ? "<parent>" : "<none>" ; 
     3201    String name = color is null ? "<parent>" : "<none>" ; 
    32003202    ptr = cast(char*)OS.g_malloc (name.length+1); 
    32013203    ptr[ 0 .. name.length ] = name; 
     
    37153717 * </ul> 
    37163718 */ 
    3717 public void setToolTipText (char[] str) { 
     3719public void setToolTipText (String str) { 
    37183720    checkWidget(); 
    37193721    setToolTipText (_getShell (), str); 
     
    37213723} 
    37223724 
    3723 void setToolTipText (Shell shell, char[] newString) { 
     3725void setToolTipText (Shell shell, String newString) { 
    37243726    shell.setToolTipText (eventHandle (), newString); 
    37253727}