Mercurial > projects > dwt-win
diff dwt/widgets/Dialog.d @ 212:ab60f3309436
reverted the char[] to String and use the an alias.
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:12:38 +0200 |
parents | 92c102dd64a3 |
children | 36f5cb12e1a2 |
line wrap: on
line diff
--- a/dwt/widgets/Dialog.d Sat Apr 26 10:01:48 2008 +0200 +++ b/dwt/widgets/Dialog.d Mon May 05 00:12:38 2008 +0200 @@ -17,6 +17,7 @@ import dwt.DWTException; import dwt.widgets.Shell; import dwt.widgets.Display; +import dwt.dwthelper.utils; /** * This class is the abstract superclass of the classes @@ -81,7 +82,7 @@ public abstract class Dialog { int style; Shell parent; - char[] title; + String title; /** * Constructs a new instance of this class given only its @@ -228,7 +229,7 @@ * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> */ -public char[] getText () { +public String getText () { return title; } @@ -247,7 +248,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) { if (string is null) error (DWT.ERROR_NULL_ARGUMENT); title = string; }