diff dwt/widgets/Event.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 f2b62ad9777b
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/widgets/Event.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/widgets/Event.d	Mon May 05 00:12:38 2008 +0200
@@ -19,6 +19,7 @@
 import dwt.widgets.Display;
 
 import tango.text.convert.Format;
+import dwt.dwthelper.utils;
 
 
 /**
@@ -180,7 +181,7 @@
      * Setting this field will change the text that is about to
      * be inserted or deleted.
      */
-    public char[] text;
+    public String text;
 
     /**
      * depending on the event, a flag indicating whether the operation
@@ -221,7 +222,7 @@
  *
  * @return a string representation of the event
  */
-override public char[] toString () {
+override public String toString () {
     return Format( "Event {{type={} {} time={} data={} x={} y={} width={} height={} detail={}}",
         type, widget, time, data, x, y, width, height, detail );  //$NON-NLS-1$//$NON-NLS-2$ //$NON-NLS-3$ //$NON-NLS-4$ //$NON-NLS-5$ //$NON-NLS-6$ //$NON-NLS-7$
 }