diff dwt/widgets/Dialog.d @ 238:380bad9f6852

reverted char[] to String
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:42:55 +0200
parents 45921f44a4b2
children ce446666f5a2
line wrap: on
line diff
--- a/dwt/widgets/Dialog.d	Sat Apr 26 10:01:30 2008 +0200
+++ b/dwt/widgets/Dialog.d	Mon May 05 00:42:55 2008 +0200
@@ -12,6 +12,8 @@
  *******************************************************************************/
 module dwt.widgets.Dialog;
 
+import dwt.dwthelper.utils;
+
 
 import dwt.DWT;
 import dwt.DWTException;
@@ -81,7 +83,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 +230,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 +249,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;
 }