# HG changeset patch # User Frank Benoit # Date 1205536732 -3600 # Node ID 980f8a3baa27f1d3340bf1d72aa9fbec702ceba2 # Parent 8ee0dfe6f6851f8deab5dac0d885b113cc84ca3b Make samples build with dwt.res diff -r 8ee0dfe6f685 -r 980f8a3baa27 dsss.conf --- a/dsss.conf Thu Mar 13 23:53:38 2008 +0100 +++ b/dsss.conf Sat Mar 15 00:18:52 2008 +0100 @@ -9,6 +9,7 @@ version(Windows){ #buildflags+= -L/SUBSYSTEM:windows:5 buildflags+= -L/SUBSYSTEM:console:5 + buildflags+= -L/rc:dwt } # It seems this is no longer needed @@ -65,6 +66,7 @@ buildflags+=-g -gc -debug version(Windows){ buildflags+= -L/SUBSYSTEM:console:5 + buildflags+= -L/rc:dwt } buildflags+=-Jdwtexamples/addressbook @@ -72,6 +74,7 @@ buildflags+=-g -gc -debug version(Windows){ buildflags+= -L/SUBSYSTEM:console:5 + buildflags+= -L/rc:dwt } buildflags+=-Jdwtexamples/controlexample buildflags+=-version=CONTROL_EXAMPLE_MAIN @@ -80,6 +83,7 @@ buildflags+=-g -gc -debug version(Windows){ buildflags+= -L/SUBSYSTEM:console:5 + buildflags+= -L/rc:dwt } buildflags+=-Jdwtexamples/controlexample buildflags+=-version=CUSTOM_CONTROL_EXAMPLE_MAIN @@ -88,5 +92,6 @@ buildflags+=-g -gc -debug version(Windows){ buildflags+= -L/SUBSYSTEM:console:5 + buildflags+= -L/rc:dwt } buildflags+=-Jdwtexamples/texteditor diff -r 8ee0dfe6f685 -r 980f8a3baa27 dwt.res Binary file dwt.res has changed diff -r 8ee0dfe6f685 -r 980f8a3baa27 dwtexamples/controlexample/ControlExample.d --- a/dwtexamples/controlexample/ControlExample.d Thu Mar 13 23:53:38 2008 +0100 +++ b/dwtexamples/controlexample/ControlExample.d Sat Mar 15 00:18:52 2008 +0100 @@ -146,7 +146,6 @@ * Answers the set of example Tabs */ Tab[] createTabs() { - version(Windows){ return [ cast(Tab) new ButtonTab (this), new CanvasTab (this), @@ -173,34 +172,6 @@ new ToolTipTab (this), new TreeTab (this) ]; - } else { // linux - return [ cast(Tab) - new ButtonTab (this), - new CanvasTab (this), - new ComboTab (this), - new CoolBarTab (this), - new DateTimeTab (this), - new DialogTab (this), - new ExpandBarTab (this), - new GroupTab (this), - new LabelTab (this), - new LinkTab (this), - new ListTab (this), - new MenuTab (this), - new ProgressBarTab (this), - new SashTab (this), - new ScaleTab (this), - shellTab = new ShellTab(this), - new SliderTab (this), - new SpinnerTab (this), - new TabFolderTab (this), - new TableTab (this), - new TextTab (this), - new ToolBarTab (this), - new ToolTipTab (this), - new TreeTab (this) - ]; - } } /**