Mercurial > projects > dwt-linux
diff dwt/events/SelectionEvent.d @ 238:380bad9f6852
reverted char[] to String
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 05 May 2008 00:42:55 +0200 |
parents | f2e04420fd6c |
children | c0d810de7093 |
line wrap: on
line diff
--- a/dwt/events/SelectionEvent.d Sat Apr 26 10:01:30 2008 +0200 +++ b/dwt/events/SelectionEvent.d Mon May 05 00:42:55 2008 +0200 @@ -12,6 +12,8 @@ *******************************************************************************/ module dwt.events.SelectionEvent; +import dwt.dwthelper.utils; + import dwt.widgets.Event; import dwt.widgets.Widget; @@ -92,7 +94,7 @@ * @see dwt.widgets.Link#setText(String) * @since 3.1 */ - public char[] text; + public String text; /** * A flag indicating whether the operation should be allowed. @@ -128,7 +130,7 @@ * * @return a string representation of the event */ -public override char[] toString() { +public override String toString() { return Format( "{} item={} detail={} x={} y={} width={} height={} stateMask={} text={} doit={}}", super.toString[ 0 .. $-2 ], item,