Mercurial > projects > dwt-mac
diff dwt/widgets/TabFolder.d @ 123:63a09873578e
Fixed compile errors
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Thu, 15 Jan 2009 23:08:54 +0100 |
parents | c7f7f4d7091a |
children |
line wrap: on
line diff
--- a/dwt/widgets/TabFolder.d Wed Dec 31 21:01:13 2008 +0100 +++ b/dwt/widgets/TabFolder.d Thu Jan 15 23:08:54 2009 +0100 @@ -15,7 +15,7 @@ import dwt.dwthelper.utils; - + import dwt.DWT; import dwt.DWTException; import dwt.events.SelectionEvent; @@ -140,12 +140,12 @@ static int checkStyle (int style) { style = checkBits (style, DWT.TOP, DWT.BOTTOM, 0, 0, 0, 0); /* - * Even though it is legal to create this widget - * with scroll bars, they serve no useful purpose - * because they do not automatically scroll the - * widget's client area. The fix is to clear - * the DWT style. - */ + * Even though it is legal to create this widget + * with scroll bars, they serve no useful purpose + * because they do not automatically scroll the + * widget's client area. The fix is to clear + * the DWT style. + */ return style & ~(DWT.H_SCROLL | DWT.V_SCROLL); } @@ -623,10 +623,10 @@ for (int i = 0; i < itemCount; i++) { TabItem item = items [i]; /* - * Feature in Cocoa. For some reason the control on a tab being - * deselected has its parent removed natively. The fix is to - * re-set the control's parent. - */ + * Feature in Cocoa. For some reason the control on a tab being + * deselected has its parent removed natively. The fix is to + * re-set the control's parent. + */ Control control = item.control; if (control !is null) { NSView topView = control.topView ();