comparison dwt/internal/cocoa/SWTTreeItem.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 f565d3a95c0a
children d8635bb48c7c
comparison
equal deleted inserted replaced
36:db5a898b2119 37:642f460a0908
13 *******************************************************************************/ 13 *******************************************************************************/
14 module dwt.internal.cocoa.SWTTreeItem; 14 module dwt.internal.cocoa.SWTTreeItem;
15 15
16 import dwt.internal.cocoa.NSInteger; 16 import dwt.internal.cocoa.NSInteger;
17 import dwt.internal.cocoa.NSObject; 17 import dwt.internal.cocoa.NSObject;
18 import dwt.internal.cocoa.OS;
18 19
19 public class SWTTreeItem : NSObject { 20 public class SWTTreeItem : NSObject {
20 21
21 public NSInteger tag () { 22 public NSInteger tag () {
22 return cast(NSInteger) OS.objc_msgSend(id, OS.sel_tag); 23 return cast(NSInteger) OS.objc_msgSend(id_, OS.sel_tag);
23 } 24 }
24 25
25 public void setTag (NSInteger tag) { 26 public void setTag (NSInteger tag) {
26 OS.objc_msgSend(id, OS.sel_setTag_1, tag); 27 OS.objc_msgSend(id_, OS.sel_setTag_1, tag);
27 } 28 }
28 } 29 }