Mercurial > projects > dwt-linux
comparison dwt/events/MenuDetectEvent.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 |
comparison
equal
deleted
inserted
replaced
237:98b80b00af79 | 238:380bad9f6852 |
---|---|
9 * IBM Corporation - initial API and implementation | 9 * IBM Corporation - initial API and implementation |
10 * Port to the D programming language: | 10 * Port to the D programming language: |
11 * Frank Benoit <benoit@tionex.de> | 11 * Frank Benoit <benoit@tionex.de> |
12 *******************************************************************************/ | 12 *******************************************************************************/ |
13 module dwt.events.MenuDetectEvent; | 13 module dwt.events.MenuDetectEvent; |
14 | |
15 import dwt.dwthelper.utils; | |
14 | 16 |
15 | 17 |
16 import dwt.widgets.Event; | 18 import dwt.widgets.Event; |
17 import dwt.events.TypedEvent; | 19 import dwt.events.TypedEvent; |
18 | 20 |
65 * Returns a string containing a concise, human-readable | 67 * Returns a string containing a concise, human-readable |
66 * description of the receiver. | 68 * description of the receiver. |
67 * | 69 * |
68 * @return a string representation of the event | 70 * @return a string representation of the event |
69 */ | 71 */ |
70 public override char[] toString() { | 72 public override String toString() { |
71 return Format( "{} x={} y={} doit={}}", super.toString[ 0 .. $-2 ], x, y, doit ); | 73 return Format( "{} x={} y={} doit={}}", super.toString[ 0 .. $-2 ], x, y, doit ); |
72 } | 74 } |
73 } | 75 } |