Mercurial > projects > dwt-samples
changeset 10:c59fbc51bbff
Deactivate StyledTextTab in CustomControlExample for windows. It crashes on startup
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Thu, 14 Feb 2008 21:05:23 +0100 |
parents | ab50be5df9a0 |
children | 4406de6f216f |
files | dwtexamples/controlexample/CustomControlExample.d |
diffstat | 1 files changed, 10 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/dwtexamples/controlexample/CustomControlExample.d Tue Feb 12 20:02:08 2008 -0800 +++ b/dwtexamples/controlexample/CustomControlExample.d Thu Feb 14 21:05:23 2008 +0100 @@ -55,6 +55,15 @@ * Answers the set of example Tabs */ Tab[] createTabs() { + version(Windows){ + return [ cast(Tab) + new CComboTab (this), + new CLabelTab (this), + new CTabFolderTab (this), + new SashFormTab (this)/+, + new StyledTextTab (this)+/ + ]; + } else { return [ cast(Tab) new CComboTab (this), new CLabelTab (this), @@ -62,6 +71,7 @@ new SashFormTab (this), new StyledTextTab (this) ]; + } } /**