diff dwt/accessibility/AccessibleTextEvent.d @ 36:db5a898b2119

Fixed a lot of compile errors
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Tue, 07 Oct 2008 12:56:18 +0200
parents f565d3a95c0a
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/accessibility/AccessibleTextEvent.d	Sun Sep 14 23:32:29 2008 +0200
+++ b/dwt/accessibility/AccessibleTextEvent.d	Tue Oct 07 12:56:18 2008 +0200
@@ -13,8 +13,11 @@
  *******************************************************************************/
 module dwt.accessibility.AccessibleTextEvent;
 
+import dwt.internal.DWTEventObject;
+
+import tango.text.convert.Format;
+
 import dwt.dwthelper.utils;
-import dwt.internal.DWTEventObject;
 
 /**
  * Instances of this class are sent as a result of
@@ -36,7 +39,7 @@
     public int childID; // IN
     public int offset, length; // OUT
 
-    static final long serialVersionUID = 3977019530868308275L;
+    static const long serialVersionUID = 3977019530868308275L;
 
     /**
      * Constructs a new instance of this class.
@@ -54,9 +57,9 @@
      * @return a String representation of the event
      */
     public String toString () {
-        return "AccessibleTextEvent {childID=" ~ childID + //$NON-NLS-1$
-        " offset=" + offset + //$NON-NLS-1$
-        " length=" + length + //$NON-NLS-1$
-        "}"; //$NON-NLS-1$
+        return Format("AccessibleTextEvent {childID={}{}{}{}{}{}" , childID , //$NON-NLS-1$
+        " offset=" , offset , //$NON-NLS-1$
+        " length=" , length , //$NON-NLS-1$
+        "}"); //$NON-NLS-1$
     }
 }