Mercurial > projects > dwt-linux
diff dwt/widgets/TableColumn.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 17f8449522fd |
children | 34409a2fc053 |
line wrap: on
line diff
--- a/dwt/widgets/TableColumn.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/widgets/TableColumn.d Mon May 05 00:42:55 2008 +0200 @@ -12,6 +12,8 @@ *******************************************************************************/ module dwt.widgets.TableColumn; +import dwt.dwthelper.utils; + import dwt.DWT; @@ -49,7 +51,7 @@ Table parent; int modelIndex, lastButton, lastTime, lastX, lastWidth; bool customDraw, useFixedWidth; - char[] toolTipText; + String toolTipText; /** * Constructs a new instance of this class given its parent @@ -306,7 +308,7 @@ * * @since 3.2 */ -public char[] getToolTipText () { +public String getToolTipText () { checkWidget(); return toolTipText; } @@ -606,7 +608,7 @@ } } -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); @@ -633,14 +635,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); }