Mercurial > projects > dwt-mac
comparison dwt/internal/cocoa/SWTWebViewDelegate.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.SWTWebViewDelegate; | 14 module dwt.internal.cocoa.SWTWebViewDelegate; |
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 SWTWebViewDelegate : NSObject { | 20 public class SWTWebViewDelegate : NSObject { |
20 | 21 |
21 public void setTag (NSInteger tag) { | 22 public void setTag (NSInteger tag) { |
22 OS.objc_msgSend(id, OS.sel_setTag_1, tag); | 23 OS.objc_msgSend(id_, OS.sel_setTag_1, tag); |
23 } | 24 } |
24 } | 25 } |