diff dwt/widgets/Slider.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 3f1bfbd329c0
line wrap: on
line diff
--- a/dwt/widgets/Slider.d	Mon Dec 01 17:07:00 2008 +0100
+++ b/dwt/widgets/Slider.d	Fri Dec 05 16:00:41 2008 +0100
@@ -174,7 +174,7 @@
 
 void createHandle () {
     NSScroller widget = cast(NSScroller)new SWTScroller().alloc();
-    NSRect rect = new NSRect();
+    NSRect rect = NSRect();
     if ((style & DWT.HORIZONTAL) !is 0) {
         rect.width = 1;
     } else {