Mercurial > projects > dwt-mac
diff dwt/internal/cocoa/SWTWindowDelegate.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 | 7d135fe0caf2 |
children | d8635bb48c7c |
line wrap: on
line diff
--- a/dwt/internal/cocoa/SWTWindowDelegate.d Tue Oct 07 12:56:18 2008 +0200 +++ b/dwt/internal/cocoa/SWTWindowDelegate.d Fri Oct 10 12:29:48 2008 +0200 @@ -15,6 +15,7 @@ import dwt.internal.cocoa.NSInteger; import dwt.internal.cocoa.NSObject; +import dwt.internal.cocoa.OS; import objc = dwt.internal.objc.runtime; public class SWTWindowDelegate : NSObject { @@ -28,11 +29,11 @@ } public NSInteger tag () { - return cast(NSInteger) OS.objc_msgSend(id, OS.sel_tag); + return cast(NSInteger) OS.objc_msgSend(id_, OS.sel_tag); } public void setTag (NSInteger tag) { - OS.objc_msgSend(id, OS.sel_setTag_1, tag); + OS.objc_msgSend(id_, OS.sel_setTag_1, tag); } }