Mercurial > projects > dwt-linux
diff dwt/widgets/TabItem.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 | ce446666f5a2 |
line wrap: on
line diff
--- a/dwt/widgets/TabItem.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/widgets/TabItem.d Mon May 05 00:42:55 2008 +0200 @@ -12,6 +12,8 @@ *******************************************************************************/ module dwt.widgets.TabItem; +import dwt.dwthelper.utils; + import dwt.DWT; @@ -45,7 +47,7 @@ GtkWidget* labelHandle, imageHandle, pageHandle; Control control; TabFolder parent; - char[] toolTipText; + String toolTipText; /** * Constructs a new instance of this class given its parent @@ -186,7 +188,7 @@ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ -public char[] getToolTipText () { +public String getToolTipText () { checkWidget (); return toolTipText; } @@ -327,7 +329,7 @@ * </ul> * */ -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); @@ -352,7 +354,7 @@ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ -public void setToolTipText (char[] string) { +public void setToolTipText (String string) { checkWidget (); toolTipText = string; }