comparison dwt/widgets/ToolBar.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 25f88bf5a6df
children 36f5cb12e1a2
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
992 } 992 }
993 if (index is items.length) return false; 993 if (index is items.length) return false;
994 return super.setTabItemFocus (); 994 return super.setTabItemFocus ();
995 } 995 }
996 996
997 override char[] toolTipText (NMTTDISPINFO* hdr) { 997 override String toolTipText (NMTTDISPINFO* hdr) {
998 if ((hdr.uFlags & OS.TTF_IDISHWND) !is 0) { 998 if ((hdr.uFlags & OS.TTF_IDISHWND) !is 0) {
999 return null; 999 return null;
1000 } 1000 }
1001 /* 1001 /*
1002 * Bug in Windows. On Windows XP, when TB_SETHOTITEM is 1002 * Bug in Windows. On Windows XP, when TB_SETHOTITEM is
1041 if ((style & DWT.RIGHT) !is 0) bits |= OS.TBSTYLE_LIST; 1041 if ((style & DWT.RIGHT) !is 0) bits |= OS.TBSTYLE_LIST;
1042 } 1042 }
1043 return bits; 1043 return bits;
1044 } 1044 }
1045 1045
1046 override char[] windowClass () { 1046 override String windowClass () {
1047 return TCHARsToStr(ToolBarClass); 1047 return TCHARsToStr(ToolBarClass);
1048 } 1048 }
1049 1049
1050 override int windowProc () { 1050 override int windowProc () {
1051 return cast(int)ToolBarProc; 1051 return cast(int)ToolBarProc;