Mercurial > projects > dwt-mac
diff dwt/widgets/Canvas.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 | e6f04eb518ae |
line wrap: on
line diff
--- a/dwt/widgets/Canvas.d Mon Dec 01 17:07:00 2008 +0100 +++ b/dwt/widgets/Canvas.d Fri Dec 05 16:00:41 2008 +0100 @@ -147,7 +147,7 @@ if (gc.isDisposed ()) error (DWT.ERROR_INVALID_ARGUMENT); Control control = findBackgroundControl (); if (control !is null) { - NSRect rect = new NSRect(); + NSRect rect = NSRect(); rect.x = x; rect.y = y; rect.width = width;