the executable size is terrible, what's the problem?
tested with dwt-win svn, dmd 1.028, dwt-addons svn, Tango svn.
import
dwt.widgets.Display,
dwt.widgets.Shell,
dwt.DWT,
dwt.widgets.Control,
dwt.widgets.Composite,
dwt.widgets.Label,
dwtx.jface.window.ApplicationWindow;
public class MyWindow : ApplicationWindow
{
this()
{
super(null);
}
void run()
{
setBlockOnOpen(true);
open();
Display.getCurrent.dispose;
}
protected Control createContents(Composite parent)
{
auto label = new Label(parent, DWT.CENTER);
label.setText("hello");
return label;
}
}
void main(char[][] args)
{
(new MyWindow).run;
}