Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Decorations.d @ 38:2e09b0e6857a
work on phobosfication
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 11:18:25 +0100 |
parents | d46287db17ed |
children |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Decorations.d Wed Mar 25 08:46:48 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/Decorations.d Wed Mar 25 11:18:25 2009 +0100 @@ -1339,7 +1339,7 @@ // SWT extension: allow null string //if (string is null) error (SWT.ERROR_NULL_ARGUMENT); /* Use the character encoding for the default locale */ - TCHAR[] buffer = StrToTCHARs (string, true); + StringT buffer = StrToTCHARs (string, true); /* Ensure that the title appears in the task bar.*/ if ((state & FOREIGN_HANDLE) !is 0) { auto hHeap = OS.GetProcessHeap ();