diff dwt/custom/CTabFolderEvent.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 a5afe31f5cdd
children fd9c62a2998e
line wrap: on
line diff
--- a/dwt/custom/CTabFolderEvent.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/custom/CTabFolderEvent.d	Mon May 05 00:12:38 2008 +0200
@@ -18,6 +18,7 @@
 import dwt.widgets.Widget;
 
 import tango.util.Convert;
+import dwt.dwthelper.utils;
 
 /**
  *
@@ -81,15 +82,15 @@
  *
  * @return a string representation of the event
  */
-public override char[] toString() {
-    char[] string = super.toString ();
+public override String toString() {
+    String string = super.toString ();
     return string[0.. $ - 1] // remove trailing '}'
-        ~ " item=" ~ to!(char[])(item)
-        ~ " doit=" ~ to!(char[])(doit)
-        ~ " x=" ~ to!(char[])(x)
-        ~ " y=" ~ to!(char[])(y)
-        ~ " width=" ~ to!(char[])(width)
-        ~ " height=" ~ to!(char[])(height)
+        ~ " item=" ~ to!(String)(item)
+        ~ " doit=" ~ to!(String)(doit)
+        ~ " x=" ~ to!(String)(x)
+        ~ " y=" ~ to!(String)(y)
+        ~ " width=" ~ to!(String)(width)
+        ~ " height=" ~ to!(String)(height)
         ~ "}";
 }
 }