diff dwt/widgets/MenuItem.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 25f88bf5a6df
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/widgets/MenuItem.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/widgets/MenuItem.d	Mon May 05 00:12:38 2008 +0200
@@ -463,7 +463,7 @@
     return menu;
 }
 
-override char[] getNameText () {
+override String getNameText () {
     if ((style & DWT.SEPARATOR) !is 0) return "|";
     return super.getNameText ();
 }
@@ -1043,7 +1043,7 @@
  *
  * @see #setAccelerator
  */
-override public void setText (char[] string) {
+override public void setText (String string) {
     checkWidget ();
     if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
     if ((style & DWT.SEPARATOR) !is 0) return;