comparison dstep/appkit/NSSegmentedCell.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
39 39
40 `; 40 `;
41 41
42 class NSSegmentedCell : NSActionCell 42 class NSSegmentedCell : NSActionCell
43 { 43 {
44 mixin (ObjcWrap); 44 mixin ObjcWrap;
45
46 this (id object)
47 {
48 super(object);
49 }
45 50
46 void setSegmentCount (NSInteger count) 51 void setSegmentCount (NSInteger count)
47 { 52 {
48 return invokeObjcSelf!(void, "setSegmentCount:", NSInteger)(count); 53 return invokeObjcSelf!(void, "setSegmentCount:", NSInteger)(count);
49 } 54 }