Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSPathComponentCell.d @ 1:8b48be5454ce
The internal cocoa classes compile now
author | Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com> |
---|---|
date | Tue, 19 Aug 2008 17:35:17 +0200 |
parents | 380af2bdd8e5 |
children | f565d3a95c0a |
line wrap: on
line diff
--- a/dwt/internal/cocoa/NSPathComponentCell.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSPathComponentCell.d Tue Aug 19 17:35:17 2008 +0200 @@ -34,24 +34,24 @@ public NSURL URL () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_URL); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_URL); return result !is null ? new NSURL(result) : null; } public NSImage image () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_image); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_image); return result !is null ? new NSImage(result) : null; } public void setImage (NSImage value) { - OS.objc_msgSend(this.id, OS.sel_setImage_1, value !is null ? value.id : null); + OS.objc_msgSend(this.id_, OS.sel_setImage_1, value !is null ? value.id_ : null); } public void setURL (NSURL url) { - OS.objc_msgSend(this.id, OS.sel_setURL_1, url !is null ? url.id : null); + OS.objc_msgSend(this.id_, OS.sel_setURL_1, url !is null ? url.id_ : null); } }