Mercurial > projects > dwt-mac
diff dwt/widgets/Link.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/Link.d Wed Dec 31 21:01:13 2008 +0100 +++ b/dwt/widgets/Link.d Thu Jan 15 23:08:54 2009 +0100 @@ -159,7 +159,7 @@ int border = getBorderWidth (); width += border * 2; height += border * 2; - + // TODO is this true? if so, can this rounding be turned off? /* * Bug in Cocoa. NSTextStorage.size() seems to return a width @@ -176,7 +176,7 @@ scrollWidget.initWithFrame(NSRect ()); scrollWidget.setDrawsBackground(false); scrollWidget.setBorderType(hasBorder() ? OS.NSBezelBorder : OS.NSNoBorder); - + NSTextView widget = cast(NSTextView)(new SWTTextView()).alloc(); widget.initWithFrame(NSRect()); widget.setEditable(false);