diff dwt/widgets/MenuItem.d @ 238:380bad9f6852

reverted char[] to String
author Frank Benoit <benoit@tionex.de>
date Mon, 05 May 2008 00:42:55 +0200
parents de2578a843a7
children ce446666f5a2
line wrap: on
line diff
--- a/dwt/widgets/MenuItem.d	Sat Apr 26 10:01:30 2008 +0200
+++ b/dwt/widgets/MenuItem.d	Mon May 05 00:42:55 2008 +0200
@@ -833,13 +833,13 @@
  *
  * @see #setAccelerator
  */
-public override void setText (char[] string) {
+public override void setText (String string) {
     checkWidget();
     if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
     if ((style & DWT.SEPARATOR) !is 0) return;
     if (text.equals(string)) return;
     super.setText (string);
-    char[] accelString = "";
+    String accelString = "";
     int index = string.indexOf ('\t');
     if (index !is -1) {
         accelString = string.substring (index, string.length);