Mercurial > projects > dwt-linux
diff dwt/widgets/Decorations.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | 08789b28bdf3 |
children | 5a30aa9820f3 |
line wrap: on
line diff
--- a/dwt/widgets/Decorations.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/widgets/Decorations.d Mon May 05 00:42:55 2008 +0200 @@ -109,7 +109,7 @@ alias Canvas.sort sort; - char[] text; + String text; Image image; Image [] images; bool minimized, maximized; @@ -426,7 +426,7 @@ return minimized; } -override char[] getNameText () { +override String getNameText () { return getText (); } @@ -443,7 +443,7 @@ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ -public char[] getText () { +public String getText () { checkWidget(); return text; } @@ -717,7 +717,7 @@ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ -public void setText (char[] string) { +public void setText (String string) { checkWidget(); if (string is null) error (DWT.ERROR_NULL_ARGUMENT); text = string;