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

    r152 r238  
    1212 *******************************************************************************/ 
    1313module dwt.widgets.Shell; 
     14 
     15import dwt.dwthelper.utils; 
    1416 
    1517import dwt.widgets.Composite; 
     
    640642        OS.gtk_container_add (cast(GtkContainer*)vboxHandle, scrolledHandle); 
    641643        OS.gtk_box_set_child_packing (cast(GtkBox*)vboxHandle, scrolledHandle, true, true, 0, OS.GTK_PACK_END); 
    642         char[] dummy = "a"; 
     644        String dummy = "a"; 
    643645        OS.gtk_window_set_title (cast(GtkWindow*)shellHandle, dummy.ptr ); 
    644646        if ((style & (DWT.NO_TRIM | DWT.BORDER | DWT.SHELL_TRIM)) is 0) { 
     
    796798    if (this is newShell) return; 
    797799    if (control is lastActive) setActiveControl (null); 
    798     char[] toolTipText = control.toolTipText; 
     800    String toolTipText = control.toolTipText; 
    799801    if (toolTipText !is null) { 
    800802        control.setToolTipText (this, null); 
     
    14831485} 
    14841486 
    1485 public override void setText (char[] string) { 
     1487public override void setText (String string) { 
    14861488    super.setText (string); 
    14871489 
     
    17561758} 
    17571759 
    1758 void setToolTipText (GtkWidget* widget, char[] string) { 
     1760void setToolTipText (GtkWidget* widget, String string) { 
    17591761    char* buffer = toStringz( string ); 
    17601762    if (tooltipsHandle is null) {