comparison dwt/graphics/Cursor.d @ 238:380bad9f6852

reverted char[] to String
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:42:55 +0200
parents b6bee07cfc0b
children ce446666f5a2
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.graphics.Cursor; 13 module dwt.graphics.Cursor;
14
15 import dwt.dwthelper.utils;
14 16
15 17
16 import dwt.DWT; 18 import dwt.DWT;
17 import dwt.graphics.Resource; 19 import dwt.graphics.Resource;
18 import dwt.graphics.Device; 20 import dwt.graphics.Device;
542 * Returns a string containing a concise, human-readable 544 * Returns a string containing a concise, human-readable
543 * description of the receiver. 545 * description of the receiver.
544 * 546 *
545 * @return a string representation of the receiver 547 * @return a string representation of the receiver
546 */ 548 */
547 public override char[] toString () { 549 public override String toString () {
548 if (isDisposed()) return "Cursor {*DISPOSED*}"; 550 if (isDisposed()) return "Cursor {*DISPOSED*}";
549 return Format( "Cursor {{{}}", handle ); 551 return Format( "Cursor {{{}}", handle );
550 } 552 }
551 553
552 } 554 }