Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/SWTPanelDelegate.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 |
---|---|
27 public this (objc.id id) { | 27 public this (objc.id id) { |
28 super(id); | 28 super(id); |
29 } | 29 } |
30 | 30 |
31 public NSInteger tag () { | 31 public NSInteger tag () { |
32 return cast(NSInteger) OS.objc_msgSend(id, OS.sel_tag); | 32 return cast(NSInteger) OS.objc_msgSend(id_, OS.sel_tag); |
33 } | 33 } |
34 | 34 |
35 public void setTag (NSInteger tag) { | 35 public void setTag (NSInteger tag) { |
36 OS.objc_msgSend(id, OS.sel_setTag_1, tag); | 36 OS.objc_msgSend(id_, OS.sel_setTag_1, tag); |
37 } | 37 } |
38 | 38 |
39 } | 39 } |