Mercurial > projects > dwt-mac
diff dwt/widgets/Group.d @ 46:cfa563df4fdd
Updated Widget and Display to 3.514
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 05 Dec 2008 16:00:41 +0100 |
parents | d8635bb48c7c |
children | 39340f7612f8 |
line wrap: on
line diff
--- a/dwt/widgets/Group.d Mon Dec 01 17:07:00 2008 +0100 +++ b/dwt/widgets/Group.d Fri Dec 05 16:00:41 2008 +0100 @@ -129,10 +129,10 @@ void createHandle () { NSBox widget = cast(NSBox)(new SWTBox()).alloc(); - widget.initWithFrame(new NSRect()); + widget.initWithFrame(NSRect()); widget.setTitlePosition(OS.NSNoTitle); NSView contentWidget = (NSView)new SWTView().alloc(); - contentWidget.initWithFrame(new NSRect()); + contentWidget.initWithFrame(NSRect()); // contentWidget.setDrawsBackground(false); widget.setContentView(contentWidget); contentView = contentWidget;