diff dwt/dwthelper/utils.d @ 61:c74ba20de292

Fix: The application responds to events now
author Jacob Carlborg <doob@me.com>
date Tue, 23 Dec 2008 00:35:24 +0100
parents 198549365851
children 10eaa644646f
line wrap: on
line diff
--- a/dwt/dwthelper/utils.d	Mon Dec 22 15:10:19 2008 +0100
+++ b/dwt/dwthelper/utils.d	Tue Dec 23 00:35:24 2008 +0100
@@ -9,7 +9,16 @@
 public import tango.core.Exception : IllegalArgumentException, IOException, PlatformException;
 
 import tango.io.Stdout;
-import tango.io.Print;
+
+version (LDC)
+{
+    import tango.io.stream.Format;
+    alias FormatOutput Print;
+}
+
+else
+    import tango.io.Print;
+
 import tango.stdc.stringz;
 static import tango.text.Util;
 static import tango.text.Text;
@@ -816,6 +825,7 @@
 void ExceptionPrintStackTrace( Exception e ){
     ExceptionPrintStackTrace( e, Stderr );
 }
+
 void ExceptionPrintStackTrace( Exception e, Print!(char) print ){
     Exception exception = e;
     while( exception !is null ){