# HG changeset patch # User Frank Benoit # Date 1204479978 -3600 # Node ID 40dae5136e84c2f42018d4df78bfc420b9eb159b # Parent 96a7ecc03d9849cc1ca5d863ee63384a484f010f Porting comment diff -r 96a7ecc03d98 -r 40dae5136e84 dwtsnippets/styledtext/Snippet163.d --- a/dwtsnippets/styledtext/Snippet163.d Sun Mar 02 18:44:22 2008 +0100 +++ b/dwtsnippets/styledtext/Snippet163.d Sun Mar 02 18:46:18 2008 +0100 @@ -7,7 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation - * D Port: + * Port to the D programming language: * Jesse Phillips gmail.com *******************************************************************************/ @@ -26,6 +26,10 @@ import dwt.widgets.Display; import dwt.widgets.Shell; +version(JIVE){ + import jive.stacktrace; +} + void main() { auto display = new Display(); auto shell = new Shell(display); @@ -50,7 +54,7 @@ style3.length = 13; style3.background = display.getSystemColor(DWT.COLOR_BLUE); text.setStyleRange(style3); - + shell.pack(); shell.open(); while (!shell.isDisposed()) { diff -r 96a7ecc03d98 -r 40dae5136e84 dwtsnippets/text/Snippet258.d --- a/dwtsnippets/text/Snippet258.d Sun Mar 02 18:44:22 2008 +0100 +++ b/dwtsnippets/text/Snippet258.d Sun Mar 02 18:46:18 2008 +0100 @@ -7,7 +7,7 @@ * * Contributors: * IBM Corporation - initial API and implementation - * D port: + * Port to the D programming language: * Jesse Phillips gmail.com *******************************************************************************/