comparison org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/widgets/TrayItem.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
469 */ 469 */
470 public void setToolTipText (String value) { 470 public void setToolTipText (String value) {
471 checkWidget (); 471 checkWidget ();
472 toolTipText = value; 472 toolTipText = value;
473 NOTIFYICONDATA iconData; 473 NOTIFYICONDATA iconData;
474 TCHAR[] buffer = StrToTCHARs (0, toolTipText is null ? "X"[1..1] : toolTipText, true); 474 StringT buffer = StrToTCHARs (0, toolTipText is null ? "X"[1..1] : toolTipText, true);
475 assert( buffer.ptr !is null ); 475 assert( buffer.ptr !is null );
476 /* 476 /*
477 * Note that the size of the szTip field is different in version 5.0 of shell32.dll. 477 * Note that the size of the szTip field is different in version 5.0 of shell32.dll.
478 */ 478 */
479 int length_ = OS.SHELL32_MAJOR < 5 ? 64 : 128; 479 int length_ = OS.SHELL32_MAJOR < 5 ? 64 : 128;