diff dwt/widgets/Composite.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 07ed83d51a19
children 36f5cb12e1a2
line wrap: on
line diff
--- a/dwt/widgets/Composite.d	Sat Apr 26 10:01:48 2008 +0200
+++ b/dwt/widgets/Composite.d	Mon May 05 00:12:38 2008 +0200
@@ -950,10 +950,10 @@
     return false;
 }
 
-char[] toolTipText (NMTTDISPINFO* hdr) {
+String toolTipText (NMTTDISPINFO* hdr) {
     Shell shell = getShell ();
     if ((hdr.uFlags & OS.TTF_IDISHWND) is 0) {
-        char[] string = null;
+        String string = null;
         ToolTip toolTip = shell.findToolTip (hdr.hdr.idFrom);
         if (toolTip !is null) {
             string = toolTip.message;
@@ -1564,7 +1564,7 @@
 //                     lpnmtdi = new NMTTDISPINFOW ();
 //                     OS.MoveMemory (cast(NMTTDISPINFOW)lpnmtdi, lParam, NMTTDISPINFOW.sizeof);
 //                 }
-                char[] string = toolTipText (lpnmtdi);
+                String string = toolTipText (lpnmtdi);
                 if (string !is null) {
                     Shell shell = getShell ();
                     string = Display.withCrLf (string);