Mercurial > projects > dwt-linux
diff dwt/widgets/TreeColumn.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | f2e04420fd6c |
children | ce446666f5a2 |
line wrap: on
line diff
--- a/dwt/widgets/TreeColumn.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/widgets/TreeColumn.d Mon May 05 00:42:55 2008 +0200 @@ -12,6 +12,8 @@ *******************************************************************************/ module dwt.widgets.TreeColumn; +import dwt.dwthelper.utils; + import dwt.DWT; @@ -51,7 +53,7 @@ Tree parent; int modelIndex, lastButton, lastTime, lastX, lastWidth; bool customDraw, useFixedWidth; - char[] toolTipText; + String toolTipText; /** * Constructs a new instance of this class given its parent @@ -307,7 +309,7 @@ * * @since 3.2 */ -public char[] getToolTipText () { +public String getToolTipText () { checkWidget(); return toolTipText; } @@ -591,7 +593,7 @@ OS.gtk_tree_view_column_set_resizable (handle, resizable); } -public override void setText (char[] string) { +public override void setText (String string) { checkWidget(); if (string is null) error (DWT.ERROR_NULL_ARGUMENT); super.setText (string); @@ -618,14 +620,14 @@ * * @since 3.2 */ -public void setToolTipText (char[] string) { +public void setToolTipText (String string) { checkWidget(); Shell shell = parent._getShell (); setToolTipText (shell, string); toolTipText = string; } -void setToolTipText (Shell shell, char[] newString) { +void setToolTipText (Shell shell, String newString) { shell.setToolTipText (buttonHandle, newString); }