Mercurial > projects > dwt-mac
diff dwt/widgets/ProgressBar.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 | 16f9078aa1ff |
line wrap: on
line diff
--- a/dwt/widgets/ProgressBar.d Mon Dec 01 17:07:00 2008 +0100 +++ b/dwt/widgets/ProgressBar.d Fri Dec 05 16:00:41 2008 +0100 @@ -105,7 +105,7 @@ void createHandle () { NSProgressIndicator widget = cast(NSProgressIndicator)new SWTProgressIndicator().alloc(); - widget.initWithFrame(new NSRect()); + widget.initWithFrame(NSRect()); widget.setUsesThreadedAnimation(false); widget.setIndeterminate((style & DWT.INDETERMINATE) !is 0); if ((style & DWT.INDETERMINATE) !is 0) widget.startAnimation(null);