comparison dwt/internal/cocoa/SWTTabView.d @ 11:a329f9c3d66d

Ported dwt.internal.cocoa.SWT* again
author Jacob Carlborg <doob@me.com> <jacob.carlborg@gmail.com>
date Fri, 22 Aug 2008 15:39:51 +0200
parents 380af2bdd8e5
children f565d3a95c0a
comparison
equal deleted inserted replaced
2:354c569b57a9 11:a329f9c3d66d
11 * Port to the D Programming language: 11 * Port to the D Programming language:
12 * Jacob Carlborg <jacob.carlborg@gmail.com> 12 * Jacob Carlborg <jacob.carlborg@gmail.com>
13 *******************************************************************************/ 13 *******************************************************************************/
14 module dwt.internal.cocoa.SWTTabView; 14 module dwt.internal.cocoa.SWTTabView;
15 15
16 import dwt.dwthelper.utils; 16 import dwt.internal.cocoa.NSInteger;
17 import dwt.internal.cocoa.NSTabView; 17 import dwt.internal.cocoa.NSTabView;
18 import dwt.internal.cocoa.OS; 18 import dwt.internal.cocoa.OS;
19 import objc = dwt.internal.objc.runtime;
19 20
20 public class DWTTabView : NSTabView { 21 public class SWTTabView : NSTabView {
21 22
22 public this () { 23 public this () {
23 super(0); 24 super(null);
24 } 25 }
25 26
26 public this (int id) { 27 public this (objc.id id) {
27 super(id); 28 super(id);
28 } 29 }
29 30
30 public void setTag (int tag) { 31 public void setTag (NSInteger tag) {
31 OS.objc_msgSend(id, OS.sel_setTag_1, tag); 32 OS.objc_msgSend(id, OS.sel_setTag_1, tag);
32 } 33 }
33 } 34 }