Mercurial > projects > dstep
comparison dstep/appkit/NSMenu.d @ 25:b9de51448c6b
Added an id constructor. Changed the string mixin to a template mixin. Added support for building as a dynamic library
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Tue, 06 Apr 2010 11:37:27 +0200 |
parents | 19885b43130e |
children |
comparison
equal
deleted
inserted
replaced
24:ab33fc0c3fc1 | 25:b9de51448c6b |
---|---|
160 | 160 |
161 `; | 161 `; |
162 | 162 |
163 class NSMenu : NSObject, INSCopying, INSCoding | 163 class NSMenu : NSObject, INSCopying, INSCoding |
164 { | 164 { |
165 mixin (ObjcWrap); | 165 mixin ObjcWrap; |
166 | |
167 this (id object) | |
168 { | |
169 super(object); | |
170 } | |
166 | 171 |
167 this (NSCoder aDecoder) | 172 this (NSCoder aDecoder) |
168 { | 173 { |
169 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); | 174 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); |
170 } | 175 } |