comparison dwt/widgets/Group.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 39340f7612f8
comparison
equal deleted inserted replaced
45:d8635bb48c7c 46:cfa563df4fdd
127 display.removeWidget (box.titleCell()); 127 display.removeWidget (box.titleCell());
128 } 128 }
129 129
130 void createHandle () { 130 void createHandle () {
131 NSBox widget = cast(NSBox)(new SWTBox()).alloc(); 131 NSBox widget = cast(NSBox)(new SWTBox()).alloc();
132 widget.initWithFrame(new NSRect()); 132 widget.initWithFrame(NSRect());
133 widget.setTitlePosition(OS.NSNoTitle); 133 widget.setTitlePosition(OS.NSNoTitle);
134 NSView contentWidget = (NSView)new SWTView().alloc(); 134 NSView contentWidget = (NSView)new SWTView().alloc();
135 contentWidget.initWithFrame(new NSRect()); 135 contentWidget.initWithFrame(NSRect());
136 // contentWidget.setDrawsBackground(false); 136 // contentWidget.setDrawsBackground(false);
137 widget.setContentView(contentWidget); 137 widget.setContentView(contentWidget);
138 contentView = contentWidget; 138 contentView = contentWidget;
139 view = widget; 139 view = widget;
140 } 140 }