comparison dwt/widgets/TabFolder.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 6f75fdfa1bcd
children 36f5cb12e1a2
comparison
equal deleted inserted replaced
211:ff59aeb96cac 212:ab60f3309436
723 sendEvent (DWT.Selection, event); 723 sendEvent (DWT.Selection, event);
724 } 724 }
725 } 725 }
726 } 726 }
727 727
728 override char[] toolTipText (NMTTDISPINFO* hdr) { 728 override String toolTipText (NMTTDISPINFO* hdr) {
729 if ((hdr.uFlags & OS.TTF_IDISHWND) !is 0) { 729 if ((hdr.uFlags & OS.TTF_IDISHWND) !is 0) {
730 return null; 730 return null;
731 } 731 }
732 int index = hdr.hdr.idFrom; 732 int index = hdr.hdr.idFrom;
733 auto hwndToolTip = cast(HWND) OS.SendMessage (handle, OS.TCM_GETTOOLTIPS, 0, 0); 733 auto hwndToolTip = cast(HWND) OS.SendMessage (handle, OS.TCM_GETTOOLTIPS, 0, 0);
771 if ((style & DWT.NO_FOCUS) !is 0) bits |= OS.TCS_FOCUSNEVER; 771 if ((style & DWT.NO_FOCUS) !is 0) bits |= OS.TCS_FOCUSNEVER;
772 if ((style & DWT.BOTTOM) !is 0) bits |= OS.TCS_BOTTOM; 772 if ((style & DWT.BOTTOM) !is 0) bits |= OS.TCS_BOTTOM;
773 return bits | OS.TCS_TABS | OS.TCS_TOOLTIPS; 773 return bits | OS.TCS_TABS | OS.TCS_TOOLTIPS;
774 } 774 }
775 775
776 override char[] windowClass () { 776 override String windowClass () {
777 return TCHARsToStr( TabFolderClass ); 777 return TCHARsToStr( TabFolderClass );
778 } 778 }
779 779
780 override int windowProc () { 780 override int windowProc () {
781 return cast(int) TabFolderProc; 781 return cast(int) TabFolderProc;