Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/NSNibConnector.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/NSNibConnector.d Sat Aug 09 17:00:02 2008 +0200 +++ b/dwt/internal/cocoa/NSNibConnector.d Tue Aug 19 17:35:17 2008 +0200 @@ -34,45 +34,45 @@ public id destination () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_destination); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_destination); return result !is null ? new id(result) : null; } public void establishConnection () { - OS.objc_msgSend(this.id, OS.sel_establishConnection); + OS.objc_msgSend(this.id_, OS.sel_establishConnection); } public NSString label () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_label); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_label); return result !is null ? new NSString(result) : null; } public void replaceObject (id oldObject, id newObject) { - OS.objc_msgSend(this.id, OS.sel_replaceObject_1withObject_1, oldObject !is null ? oldObject.id : null, - newObject !is null ? newObject.id : null); + OS.objc_msgSend(this.id_, OS.sel_replaceObject_1withObject_1, oldObject !is null ? oldObject.id_ : null, + newObject !is null ? newObject.id_ : null); } public void setDestination (id destination) { - OS.objc_msgSend(this.id, OS.sel_setDestination_1, destination !is null ? destination.id : null); + OS.objc_msgSend(this.id_, OS.sel_setDestination_1, destination !is null ? destination.id_ : null); } public void setLabel (NSString label) { - OS.objc_msgSend(this.id, OS.sel_setLabel_1, label !is null ? label.id : null); + OS.objc_msgSend(this.id_, OS.sel_setLabel_1, label !is null ? label.id_ : null); } public void setSource (id source) { - OS.objc_msgSend(this.id, OS.sel_setSource_1, source !is null ? source.id : null); + OS.objc_msgSend(this.id_, OS.sel_setSource_1, source !is null ? source.id_ : null); } public id source () { - objc.id result = OS.objc_msgSend(this.id, OS.sel_source); + objc.id result = OS.objc_msgSend(this.id_, OS.sel_source); return result !is null ? new id(result) : null; }