Mercurial > projects > dwt-mac
comparison dwt/widgets/TabFolder.d @ 46:cfa563df4fdd
Updated Widget and Display to 3.514
author | Jacob Carlborg <doob@me.com> |
---|---|
date | Fri, 05 Dec 2008 16:00:41 +0100 |
parents | d8635bb48c7c |
children | d226cd03f84a |
comparison
equal
deleted
inserted
replaced
45:d8635bb48c7c | 46:cfa563df4fdd |
---|---|
162 return super.computeTrim (x, y, width, height); | 162 return super.computeTrim (x, y, width, height); |
163 } | 163 } |
164 | 164 |
165 void createHandle () { | 165 void createHandle () { |
166 NSTabView widget = cast(NSTabView)new SWTTabView().alloc(); | 166 NSTabView widget = cast(NSTabView)new SWTTabView().alloc(); |
167 widget.initWithFrame (new NSRect()); | 167 widget.initWithFrame (NSRect()); |
168 widget.setDelegate(widget); | 168 widget.setDelegate(widget); |
169 if ((style & DWT.BOTTOM) !is 0) { | 169 if ((style & DWT.BOTTOM) !is 0) { |
170 widget.setTabViewType(OS.NSBottomTabsBezelBorder); | 170 widget.setTabViewType(OS.NSBottomTabsBezelBorder); |
171 } | 171 } |
172 view = widget; | 172 view = widget; |