diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/MessageBox.d @ 38:2e09b0e6857a

work on phobosfication
author Frank Benoit <benoit@tionex.de>
date Wed, 25 Mar 2009 11:18:25 +0100
parents 6dd524f61e62
children
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/MessageBox.d	Wed Mar 25 08:46:48 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/MessageBox.d	Wed Mar 25 11:18:25 2009 +0100
@@ -214,8 +214,8 @@
 
     /* Open the message box */
     /* Use the character encoding for the default locale */
-    TCHAR[] buffer1 = StrToTCHARs (0, message, true);
-    TCHAR[] buffer2 = StrToTCHARs (0, title, true);
+    StringT buffer1 = StrToTCHARs (0, message, true);
+    StringT buffer2 = StrToTCHARs (0, title, true);
     int code = OS.MessageBox (hwndOwner, buffer1.ptr, buffer2.ptr, bits);
 
     /* Clear the temporarily dialog modal parent */