diff dwt/widgets/Scale.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 1926e6c4bf87
line wrap: on
line diff
--- a/dwt/widgets/Scale.d	Mon Dec 01 17:07:00 2008 +0100
+++ b/dwt/widgets/Scale.d	Fri Dec 05 16:00:41 2008 +0100
@@ -136,7 +136,7 @@
 
 void createHandle () {
     NSSlider widget = cast(NSSlider)new SWTSlider().alloc();
-    NSRect rect = new NSRect();
+    NSRect rect = NSRect();
         rect.width = 1;
         rect.height = 1;
     widget.initWithFrame(rect);