diff dwt/graphics/Image.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 184ab53b7785
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/graphics/Image.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/graphics/Image.d	Mon May 05 00:12:38 2008 +0200
@@ -594,7 +594,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public this (Device device, char[] filename) {
+public this (Device device, String filename) {
     if (device is null) device = Device.getDevice();
     if (device is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (filename is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
@@ -2123,7 +2123,7 @@
  *
  * @return a string representation of the receiver
  */
-override public char[] toString () {
+override public String toString () {
     if (isDisposed()) return "Image {*DISPOSED*}";
     return Format( "Image {{{}}", handle );
 }