diff dwt/browser/Safari.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 5583f8eeee6c
line wrap: on
line diff
--- a/dwt/browser/Safari.d	Mon Dec 01 17:07:00 2008 +0100
+++ b/dwt/browser/Safari.d	Fri Dec 05 16:00:41 2008 +0100
@@ -891,7 +891,7 @@
 }
 
 void webView_setFrame(int /*long*/ sender, int /*long*/ frame) {
-    NSRect rect = new NSRect();
+    NSRect rect = NSRect();
     OS.memmove(rect, frame, NSRect.sizeof);
     /* convert to DWT system coordinates */
     Rectangle bounds = browser.getDisplay().getBounds();