comparison dstep/appkit/NSTabViewItem.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
26 NSPressedTab = 2 26 NSPressedTab = 2
27 } 27 }
28 28
29 class NSTabViewItem : NSObject, INSCoding 29 class NSTabViewItem : NSObject, INSCoding
30 { 30 {
31 mixin (ObjcWrap); 31 mixin ObjcWrap;
32
33 this (id object)
34 {
35 super(object);
36 }
32 37
33 this (NSCoder aDecoder) 38 this (NSCoder aDecoder)
34 { 39 {
35 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject); 40 super(typeof(this).alloc.initWithCoder(aDecoder).objcObject);
36 } 41 }