diff dwt/internal/cocoa/WebDataSource.d @ 37:642f460a0908

Fixed a lot of compile errors, a "hello world" app compiles now
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 10 Oct 2008 12:29:48 +0200
parents 30a762abda2a
children d8635bb48c7c
line wrap: on
line diff
--- a/dwt/internal/cocoa/WebDataSource.d	Tue Oct 07 12:56:18 2008 +0200
+++ b/dwt/internal/cocoa/WebDataSource.d	Fri Oct 10 12:29:48 2008 +0200
@@ -25,7 +25,7 @@
 //}
 
 public NSData data() {
-    int result = OS.objc_msgSend(this.id, OS.sel_data);
+    int result = OS.objc_msgSend(this.id_, OS.sel_data);
     return result !is 0 ? new NSData(result) : null;
 }
 
@@ -40,7 +40,7 @@
 //}
 
 public bool isLoading() {
-    return OS.objc_msgSend(this.id, OS.sel_isLoading) !is 0;
+    return OS.objc_msgSend(this.id_, OS.sel_isLoading) !is 0;
 }
 
 //public WebResource mainResource() {