comparison dstep/appkit/NSImageCell.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
40 NSImageFrameButton 40 NSImageFrameButton
41 } 41 }
42 42
43 class NSImageCell : NSCell, INSCopying, INSCoding 43 class NSImageCell : NSCell, INSCopying, INSCoding
44 { 44 {
45 mixin (ObjcWrap); 45 mixin ObjcWrap;
46
47 this (id object)
48 {
49 super(object);
50 }
46 51
47 this (NSCoder aDecoder) 52 this (NSCoder aDecoder)
48 { 53 {
49 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 54 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
50 } 55 }