Mercurial > projects > dwt2
comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/ToolTip.d @ 38:2e09b0e6857a
work on phobosfication
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 25 Mar 2009 11:18:25 +0100 |
parents | 6dd524f61e62 |
children |
comparison
equal
deleted
inserted
replaced
37:46c5f8f56b41 | 38:2e09b0e6857a |
---|---|
524 return; | 524 return; |
525 } | 525 } |
526 if (item !is null && OS.SHELL32_MAJOR >= 5) { | 526 if (item !is null && OS.SHELL32_MAJOR >= 5) { |
527 if (visible) { | 527 if (visible) { |
528 NOTIFYICONDATA iconData; | 528 NOTIFYICONDATA iconData; |
529 TCHAR[] buffer1 = StrToTCHARs (0, text, true); | 529 StringT buffer1 = StrToTCHARs (0, text, true); |
530 TCHAR[] buffer2 = StrToTCHARs (0, message, true); | 530 StringT buffer2 = StrToTCHARs (0, message, true); |
531 static if (OS.IsUnicode) { | 531 static if (OS.IsUnicode) { |
532 TCHAR [] szInfoTitle = iconData.szInfoTitle; | 532 TCHAR [] szInfoTitle = iconData.szInfoTitle; |
533 int length1 = Math.min (szInfoTitle.length - 1, buffer1.length); | 533 int length1 = Math.min (szInfoTitle.length - 1, buffer1.length); |
534 System.arraycopy (buffer1, 0, szInfoTitle, 0, length1); | 534 System.arraycopy (buffer1, 0, szInfoTitle, 0, length1); |
535 TCHAR [] szInfo = iconData.szInfo; | 535 TCHAR [] szInfo = iconData.szInfo; |