comparison dwt/internal/cocoa/NSTabViewItem.d @ 123:63a09873578e

Fixed compile errors
author Jacob Carlborg <doob@me.com>
date Thu, 15 Jan 2009 23:08:54 +0100
parents d8635bb48c7c
children
comparison
equal deleted inserted replaced
122:2e671fa40eec 123:63a09873578e
35 super(id); 35 super(id);
36 } 36 }
37 37
38 public cocoa.id initWithIdentifier(cocoa.id identifier) { 38 public cocoa.id initWithIdentifier(cocoa.id identifier) {
39 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier !is null ? identifier.id : null); 39 objc.id result = OS.objc_msgSend(this.id, OS.sel_initWithIdentifier_, identifier !is null ? identifier.id : null);
40 return result !is null ? new id(result) : null; 40 return result !is null ? new cocoa.id(result) : null;
41 } 41 }
42 42
43 public void setLabel(NSString label) { 43 public void setLabel(NSString label) {
44 OS.objc_msgSend(this.id, OS.sel_setLabel_, label !is null ? label.id : null); 44 OS.objc_msgSend(this.id, OS.sel_setLabel_, label !is null ? label.id : null);
45 } 45 }