Mercurial > projects > dwt-mac
diff dwt/widgets/Composite.d @ 37:642f460a0908
Fixed a lot of compile errors, a "hello world" app compiles now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Fri, 10 Oct 2008 12:29:48 +0200 |
parents | db5a898b2119 |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/widgets/Composite.d Tue Oct 07 12:56:18 2008 +0200 +++ b/dwt/widgets/Composite.d Fri Oct 10 12:29:48 2008 +0200 @@ -39,7 +39,6 @@ import dwt.widgets.Shell; import dwt.widgets.Widget; - /** * Instances of this class are controls which are capable * of containing other controls. @@ -268,7 +267,7 @@ scrollWidget.setDrawsBackground(false); if ((style & DWT.H_SCROLL) !is 0) scrollWidget.setHasHorizontalScroller(true); if ((style & DWT.V_SCROLL) !is 0) scrollWidget.setHasVerticalScroller(true); - scrollWidget.setBorderType(hasBorder() ? OS.NSBezelBorder : OS.NSNoBorder); + scrollWidget.setBorderType(hasBorder() ? NSBezelBorder : NSNoBorder); scrollWidget.setTag(jniRef); scrollView = scrollWidget; rect.width = rect.height = 100000;