diff dwt/widgets/ToolTip.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/ToolTip.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/widgets/ToolTip.d	Mon May 05 00:12:38 2008 +0200
@@ -52,7 +52,7 @@
 public class ToolTip : Widget {
     Shell parent;
     TrayItem item;
-    char[] text = "", message = "";
+    String text = "", message = "";
     int id, x, y;
     bool autoHide = true, hasLocation, visible;
     static const int TIMER_ID = 100;
@@ -165,7 +165,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-public char[] getMessage () {
+public String getMessage () {
     checkWidget();
     return message;
 }
@@ -196,7 +196,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-public char[] getText () {
+public String getText () {
     checkWidget();
     return text;
 }
@@ -402,7 +402,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-public void setMessage (char[] string) {
+public void setMessage (String string) {
     checkWidget ();
     if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
     message = string;
@@ -422,7 +422,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li>
  * </ul>
  */
-public void setText (char[] string) {
+public void setText (String string) {
     checkWidget ();
     if (string is null) error (DWT.ERROR_NULL_ARGUMENT);
     text = string;