diff dwt/internal/cocoa/NSScrollView.d @ 60:62202ce0039f

Updated and fixed many modules to 3.514
author Jacob Carlborg <doob@me.com>
date Mon, 22 Dec 2008 15:10:19 +0100
parents d8635bb48c7c
children
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSScrollView.d	Tue Dec 09 21:52:21 2008 +0100
+++ b/dwt/internal/cocoa/NSScrollView.d	Mon Dec 22 15:10:19 2008 +0100
@@ -39,13 +39,13 @@
 
 public NSSize contentSize() {
     NSSize result = NSSize();
-    OS.objc_msgSend_stret(result, this.id, OS.sel_contentSize);
+    OS.objc_msgSend_stret(&result, this.id, OS.sel_contentSize);
     return result;
 }
 
 public static NSSize contentSizeForFrameSize(NSSize fSize, bool hFlag, bool vFlag, NSBorderType aType) {
     NSSize result = NSSize();
-    OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_, fSize, hFlag, vFlag, aType);
+    OS.objc_msgSend_stret(&result, OS.class_NSScrollView, OS.sel_contentSizeForFrameSize_hasHorizontalScroller_hasVerticalScroller_borderType_, fSize, hFlag, vFlag, aType);
     return result;
 }
 
@@ -61,13 +61,13 @@
 
 public NSRect documentVisibleRect() {
     NSRect result = NSRect();
-    OS.objc_msgSend_stret(result, this.id, OS.sel_documentVisibleRect);
+    OS.objc_msgSend_stret(&result, this.id, OS.sel_documentVisibleRect);
     return result;
 }
 
 public static NSSize frameSizeForContentSize(NSSize cSize, bool hFlag, bool vFlag, NSBorderType aType) {
     NSSize result = NSSize();
-    OS.objc_msgSend_stret(result, OS.class_NSScrollView, OS.sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_, cSize, hFlag, vFlag, aType);
+    OS.objc_msgSend_stret(&result, OS.class_NSScrollView, OS.sel_frameSizeForContentSize_hasHorizontalScroller_hasVerticalScroller_borderType_, cSize, hFlag, vFlag, aType);
     return result;
 }