comparison dstep/appkit/NSQuickDrawView.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
13 13
14 static if (!D_LP64): 14 static if (!D_LP64):
15 15
16 class NSQuickDrawView : NSView 16 class NSQuickDrawView : NSView
17 { 17 {
18 mixin (ObjcWrap); 18 mixin ObjcWrap;
19
20 this (id object)
21 {
22 super(object);
23 }
19 24
20 void* qdPort () 25 void* qdPort ()
21 { 26 {
22 return invokeObjcSelf!(void*, "qdPort"); 27 return invokeObjcSelf!(void*, "qdPort");
23 } 28 }