Mercurial > projects > dwt-win
diff dwt/events/PaintEvent.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 | bef1ed4ebc50 |
children | fd9c62a2998e |
line wrap: on
line diff
--- a/dwt/events/PaintEvent.d Sat Apr 26 10:01:48 2008 +0200 +++ b/dwt/events/PaintEvent.d Mon May 05 00:12:38 2008 +0200 @@ -19,6 +19,7 @@ import dwt.events.TypedEvent; import tango.text.convert.Format; +import dwt.dwthelper.utils; /** * Instances of this class are sent as a result of @@ -92,7 +93,7 @@ * * @return a string representation of the event */ -public override char[] toString() { +public override String toString() { return Format( "{} gc={} x={} y={} width={} height={} count={}}", super.toString[ 0 .. $-1 ], gc is null ? "null" : gc.toString,