changeset 5:1a8b3cb347e0

Fix Ctors to 'this'
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 14:02:31 +0200
parents ab8b5765e3d1
children b903c16b6f48
files dwt/browser/AppFileLocProvider.d dwt/browser/Download.d dwt/browser/DownloadFactory.d dwt/browser/DownloadFactory_1_8.d dwt/browser/Download_1_8.d dwt/browser/FilePicker.d dwt/browser/FilePickerFactory.d dwt/browser/HelperAppLauncherDialog.d dwt/browser/HelperAppLauncherDialogFactory.d dwt/browser/InputStream.d dwt/browser/Mozilla.d dwt/browser/PromptDialog.d dwt/browser/PromptService2.d dwt/browser/PromptService2Factory.d dwt/browser/SimpleEnumerator.d dwt/browser/WindowCreator2.d dwt/custom/DefaultContent.d dwt/custom/ExtendedModifyEvent.d dwt/custom/LineBackgroundEvent.d dwt/custom/LineStyleEvent.d dwt/custom/MovementEvent.d dwt/custom/PaintObjectEvent.d dwt/custom/PopupList.d dwt/custom/SashForm.d dwt/custom/ScrolledComposite.d dwt/custom/StyleRange.d dwt/custom/StyledText.d dwt/custom/StyledTextDropTargetEffect.d dwt/custom/StyledTextEvent.d dwt/custom/StyledTextListener.d dwt/custom/StyledTextRenderer.d dwt/custom/TableCursor.d dwt/custom/TableEditor.d dwt/custom/TableTree.d dwt/custom/TableTreeEditor.d dwt/custom/TableTreeItem.d dwt/custom/TextChangedEvent.d dwt/custom/TextChangingEvent.d dwt/custom/TreeEditor.d dwt/custom/ViewForm.d dwt/dnd/Clipboard.d dwt/dnd/DNDListener.d dwt/dnd/DragSource.d dwt/dnd/DragSourceEffect.d dwt/dnd/DragSourceEvent.d dwt/dnd/DropTarget.d dwt/dnd/DropTargetEffect.d dwt/dnd/DropTargetEvent.d dwt/dnd/FileTransfer.d dwt/dnd/HTMLTransfer.d dwt/dnd/ImageTransfer.d dwt/dnd/RTFTransfer.d dwt/dnd/TableDragSourceEffect.d dwt/dnd/TableDropTargetEffect.d dwt/dnd/TextTransfer.d dwt/dnd/TreeDragSourceEffect.d dwt/dnd/TreeDropTargetEffect.d dwt/dwthelper/utils.d dwt/effects/Effect.d dwt/events/ArmEvent.d dwt/events/ControlEvent.d dwt/events/DisposeEvent.d dwt/events/DragDetectEvent.d dwt/events/ExpandEvent.d dwt/events/FocusEvent.d dwt/events/HelpEvent.d dwt/events/KeyEvent.d dwt/events/MenuDetectEvent.d dwt/events/MenuEvent.d dwt/events/ModifyEvent.d dwt/events/MouseEvent.d dwt/events/PaintEvent.d dwt/events/SelectionEvent.d dwt/events/ShellEvent.d dwt/events/TraverseEvent.d dwt/events/TreeEvent.d dwt/events/TypedEvent.d dwt/events/VerifyEvent.d dwt/graphics/Color.d dwt/graphics/Cursor.d dwt/graphics/Device.d dwt/graphics/Font.d dwt/graphics/FontData.d dwt/graphics/FontMetrics.d dwt/graphics/GC.d dwt/graphics/GlyphMetrics.d dwt/graphics/Image.d dwt/graphics/ImageData.d dwt/graphics/ImageLoader.d dwt/graphics/ImageLoaderEvent.d dwt/graphics/LineAttributes.d dwt/graphics/PaletteData.d dwt/graphics/Path.d dwt/graphics/Pattern.d dwt/graphics/Point.d dwt/graphics/RGB.d dwt/graphics/Rectangle.d dwt/graphics/Region.d dwt/graphics/Resource.d dwt/graphics/TextLayout.d dwt/graphics/TextStyle.d dwt/graphics/Transform.d dwt/internal/cocoa/WebDataSource.d dwt/internal/cocoa/WebDocumentRepresentation.d dwt/internal/cocoa/WebFrame.d dwt/internal/cocoa/WebFrameView.d dwt/internal/cocoa/WebOpenPanelResultListener.d dwt/internal/cocoa/WebPolicyDecisionListener.d dwt/internal/cocoa/WebPreferences.d dwt/internal/cocoa/WebView.d dwt/internal/image/JPEGAppn.d dwt/internal/image/JPEGArithmeticConditioningTable.d dwt/internal/image/JPEGComment.d dwt/internal/image/JPEGEndOfImage.d dwt/internal/image/JPEGFixedSizeSegment.d dwt/internal/image/JPEGFrameHeader.d dwt/internal/image/JPEGHuffmanTable.d dwt/internal/image/JPEGQuantizationTable.d dwt/internal/image/JPEGRestartInterval.d dwt/internal/image/JPEGScanHeader.d dwt/internal/image/JPEGSegment.d dwt/internal/image/JPEGStartOfImage.d dwt/internal/image/JPEGVariableSizeSegment.d dwt/internal/image/LEDataInputStream.d dwt/internal/image/LEDataOutputStream.d dwt/internal/image/PngChunk.d dwt/internal/image/PngChunkReader.d dwt/internal/image/PngDecodingDataStream.d dwt/internal/image/PngDeflater.d dwt/internal/image/PngEncoder.d dwt/internal/image/PngHuffmanTable.d dwt/internal/image/PngHuffmanTables.d dwt/internal/image/PngIdatChunk.d dwt/internal/image/PngIendChunk.d dwt/internal/image/PngIhdrChunk.d dwt/internal/image/PngInputStream.d dwt/internal/image/PngLzBlockReader.d dwt/internal/image/PngPlteChunk.d dwt/internal/image/PngTrnsChunk.d dwt/internal/image/TIFFDirectory.d dwt/internal/image/TIFFRandomFileAccess.d dwt/internal/theme/ButtonDrawData.d dwt/internal/theme/ComboDrawData.d dwt/internal/theme/DrawData.d dwt/internal/theme/ExpanderDrawData.d dwt/internal/theme/GroupDrawData.d dwt/internal/theme/ProgressBarDrawData.d dwt/internal/theme/ScaleDrawData.d dwt/internal/theme/ScrollBarDrawData.d dwt/internal/theme/TabFolderDrawData.d dwt/internal/theme/TabItemDrawData.d dwt/internal/theme/Theme.d dwt/internal/theme/ToolBarDrawData.d dwt/internal/theme/ToolItemDrawData.d dwt/layout/FillLayout.d dwt/layout/FormAttachment.d dwt/layout/FormData.d dwt/layout/FormLayout.d dwt/layout/GridData.d dwt/layout/GridLayout.d dwt/layout/RowData.d dwt/layout/RowLayout.d dwt/opengl/GLCanvas.d dwt/printing/PrintDialog.d dwt/printing/Printer.d dwt/printing/PrinterData.d dwt/program/Program.d dwt/widgets/Button.d dwt/widgets/Canvas.d dwt/widgets/Caret.d dwt/widgets/ColorDialog.d dwt/widgets/Combo.d dwt/widgets/Composite.d dwt/widgets/Control.d dwt/widgets/CoolBar.d dwt/widgets/CoolItem.d dwt/widgets/DateTime.d dwt/widgets/Decorations.d dwt/widgets/Dialog.d dwt/widgets/DirectoryDialog.d dwt/widgets/Display.d dwt/widgets/ExpandBar.d dwt/widgets/ExpandItem.d dwt/widgets/FileDialog.d dwt/widgets/FontDialog.d dwt/widgets/Group.d dwt/widgets/IME.d dwt/widgets/Item.d dwt/widgets/Label.d dwt/widgets/Link.d dwt/widgets/List.d dwt/widgets/Menu.d dwt/widgets/MenuItem.d dwt/widgets/MessageBox.d dwt/widgets/Monitor.d dwt/widgets/ProgressBar.d dwt/widgets/RunnableLock.d dwt/widgets/Sash.d dwt/widgets/Scale.d dwt/widgets/ScrollBar.d dwt/widgets/Scrollable.d dwt/widgets/Shell.d dwt/widgets/Slider.d dwt/widgets/Spinner.d dwt/widgets/Synchronizer.d dwt/widgets/TabFolder.d dwt/widgets/TabItem.d dwt/widgets/Table.d dwt/widgets/TableColumn.d dwt/widgets/TableItem.d dwt/widgets/Text.d dwt/widgets/ToolBar.d dwt/widgets/ToolItem.d dwt/widgets/ToolTip.d dwt/widgets/Tracker.d dwt/widgets/Tray.d dwt/widgets/TrayItem.d dwt/widgets/Tree.d dwt/widgets/TreeColumn.d dwt/widgets/TreeItem.d dwt/widgets/TypedListener.d dwt/widgets/Widget.d
diffstat 222 files changed, 364 insertions(+), 364 deletions(-) [+]
line wrap: on
line diff
--- a/dwt/browser/AppFileLocProvider.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/AppFileLocProvider.d	Wed Aug 27 14:02:31 2008 +0200
@@ -45,7 +45,7 @@
     static final String USER_PLUGINS_DIR = ".mozilla" + SEPARATOR_OS + "plugins"; //$NON-NLS-1$ //$NON-NLS-2$
     static final String PREFERENCES_FILE = "prefs.js"; //$NON-NLS-1$
     
-AppFileLocProvider (String path) {
+this (String path) {
     mozillaPath = path + SEPARATOR_OS;
     createCOMInterfaces ();
 }
--- a/dwt/browser/Download.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/Download.d	Wed Aug 27 14:02:31 2008 +0200
@@ -45,7 +45,7 @@
     Label status;
     Button cancel;
     
-Download () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/DownloadFactory.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/DownloadFactory.d	Wed Aug 27 14:02:31 2008 +0200
@@ -24,7 +24,7 @@
     XPCOMObject factory;
     int refCount = 0;
 
-DownloadFactory () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/DownloadFactory_1_8.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/DownloadFactory_1_8.d	Wed Aug 27 14:02:31 2008 +0200
@@ -24,7 +24,7 @@
     XPCOMObject factory;
     int refCount = 0;
 
-DownloadFactory_1_8 () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/Download_1_8.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/Download_1_8.d	Wed Aug 27 14:02:31 2008 +0200
@@ -46,7 +46,7 @@
 
     static final bool is32 = C.PTR_SIZEOF is 4;
 
-Download_1_8 () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/FilePicker.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/FilePicker.d	Wed Aug 27 14:02:31 2008 +0200
@@ -39,7 +39,7 @@
 
     static final String SEPARATOR = System.getProperty ("file.separator"); //$NON-NLS-1$
 
-FilePicker () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/FilePickerFactory.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/FilePickerFactory.d	Wed Aug 27 14:02:31 2008 +0200
@@ -24,7 +24,7 @@
     XPCOMObject factory;
     int refCount = 0;
 
-FilePickerFactory () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/HelperAppLauncherDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/HelperAppLauncherDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -31,7 +31,7 @@
     XPCOMObject helperAppLauncherDialog;
     int refCount = 0;
 
-HelperAppLauncherDialog () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/HelperAppLauncherDialogFactory.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/HelperAppLauncherDialogFactory.d	Wed Aug 27 14:02:31 2008 +0200
@@ -24,7 +24,7 @@
     XPCOMObject factory;
     int refCount = 0;
 
-HelperAppLauncherDialogFactory () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/InputStream.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/InputStream.d	Wed Aug 27 14:02:31 2008 +0200
@@ -26,7 +26,7 @@
     byte[] buffer;
     int index = 0;
     
-InputStream (byte[] buffer) {
+this (byte[] buffer) {
     this.buffer = buffer;
     index = 0;
     createCOMInterfaces ();
--- a/dwt/browser/Mozilla.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/Mozilla.d	Wed Aug 27 14:02:31 2008 +0200
@@ -1703,7 +1703,7 @@
     if (rc !is XPCOM.NS_OK) error (rc);
     baseWindow.Release ();
 
-    Release ();
+    this ();
     webBrowser.Release ();
     webBrowser = null;
     webBrowserObject = null;
--- a/dwt/browser/PromptDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/PromptDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -29,11 +29,11 @@
 
 class PromptDialog : Dialog {
     
-    PromptDialog(Shell parent, int style) {
+    this(Shell parent, int style) {
         super(parent, style);
     }
     
-    PromptDialog(Shell parent) {
+    this(Shell parent) {
         this(parent, 0);
     }
     
--- a/dwt/browser/PromptService2.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/PromptService2.d	Wed Aug 27 14:02:31 2008 +0200
@@ -40,7 +40,7 @@
     XPCOMObject promptService2;
     int refCount = 0;
 
-PromptService2 () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/PromptService2Factory.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/PromptService2Factory.d	Wed Aug 27 14:02:31 2008 +0200
@@ -24,7 +24,7 @@
     XPCOMObject factory;
     int refCount = 0;
 
-PromptService2Factory () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/browser/SimpleEnumerator.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/SimpleEnumerator.d	Wed Aug 27 14:02:31 2008 +0200
@@ -26,7 +26,7 @@
     nsISupports[] values;
     int index = 0;
 
-SimpleEnumerator (nsISupports[] values) {
+this (nsISupports[] values) {
     this.values = values;
     for (int i = 0; i < values.length; i++) {
         values[i].AddRef ();
--- a/dwt/browser/WindowCreator2.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/browser/WindowCreator2.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,7 +35,7 @@
     XPCOMObject windowCreator2;
     int refCount = 0;
 
-WindowCreator2 () {
+this () {
     createCOMInterfaces ();
 }
 
--- a/dwt/custom/DefaultContent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/DefaultContent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,7 +35,7 @@
  * Creates a new DefaultContent and initializes it.  A <code>StyledTextContent</> will always have
  * at least one empty line.
  */
-DefaultContent() {
+this() {
     super();
     setText("");
 }
--- a/dwt/custom/ExtendedModifyEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/ExtendedModifyEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -25,7 +25,7 @@
     
     static final long serialVersionUID = 3258696507027830832L;
     
-public ExtendedModifyEvent(StyledTextEvent e) {
+public this(StyledTextEvent e) {
     super(e);
     start = e.start;
     length = e.end - e.start;
--- a/dwt/custom/LineBackgroundEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/LineBackgroundEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,7 +35,7 @@
     
     static final long serialVersionUID = 3978711687853324342L;
     
-public LineBackgroundEvent(StyledTextEvent e) {
+public this(StyledTextEvent e) {
     super(e);
     lineOffset = e.detail;
     lineText = e.text;
--- a/dwt/custom/LineStyleEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/LineStyleEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -80,7 +80,7 @@
     
     static final long serialVersionUID = 3906081274027192884L;
     
-public LineStyleEvent(StyledTextEvent e) {
+public this(StyledTextEvent e) {
     super(e);
     styles = e.styles;
     ranges = e.ranges;
--- a/dwt/custom/MovementEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/MovementEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -53,7 +53,7 @@
     
     static final long serialVersionUID = 3978765487853324342L;
     
-public MovementEvent(StyledTextEvent e) {
+public this(StyledTextEvent e) {
     super(e);
     lineOffset = e.detail;
     lineText = e.text;
--- a/dwt/custom/PaintObjectEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/PaintObjectEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -62,7 +62,7 @@
     
     static final long serialVersionUID = 3906081274027192855L;
     
-public PaintObjectEvent(StyledTextEvent e) {
+public this(StyledTextEvent e) {
     super(e);
     gc = e.gc;
     x = e.x;
--- a/dwt/custom/PopupList.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/PopupList.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
 * 
 * @param parent a Shell control which will be the parent of the new instance (cannot be null)
 */
-public PopupList(Shell parent) {
+public this(Shell parent) {
     this (parent, 0);
 }
 /** 
@@ -43,7 +43,7 @@
 * 
 * @since 3.0 
 */
-public PopupList(Shell parent, int style) {
+public this(Shell parent, int style) {
     shell = new Shell(parent, checkStyle(style));
     
     list = new List(shell, DWT.SINGLE | DWT.V_SCROLL);  
--- a/dwt/custom/SashForm.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/SashForm.d	Wed Aug 27 14:02:31 2008 +0200
@@ -72,7 +72,7 @@
  * @see DWT#VERTICAL
  * @see #getStyle()
  */
-public SashForm(Composite parent, int style) {
+public this(Composite parent, int style) {
     super(parent, checkStyle(style));
     super.setLayout(new SashFormLayout());
     sashStyle = ((style & DWT.VERTICAL) !is 0) ? DWT.HORIZONTAL : DWT.VERTICAL;
--- a/dwt/custom/ScrolledComposite.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/ScrolledComposite.d	Wed Aug 27 14:02:31 2008 +0200
@@ -138,7 +138,7 @@
  * @see DWT#V_SCROLL
  * @see #getStyle()
  */ 
-public ScrolledComposite(Composite parent, int style) {
+public this(Composite parent, int style) {
     super(parent, checkStyle(style));
     super.setLayout(new ScrolledCompositeLayout());
     ScrollBar hBar = getHorizontalBar ();
--- a/dwt/custom/StyleRange.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyleRange.d	Wed Aug 27 14:02:31 2008 +0200
@@ -40,7 +40,7 @@
  * 
  * @since 3.2
  */
-public StyleRange() {
+public this() {
 }
 
 /** 
@@ -50,7 +50,7 @@
  *
  *@since 3.4
  */
-public StyleRange(TextStyle style) {
+public this(TextStyle style) {
     super(style);
 }
 
@@ -62,7 +62,7 @@
  * @param foreground foreground color of the style, null if none 
  * @param background background color of the style, null if none
  */
-public StyleRange(int start, int length, Color foreground, Color background) {
+public this(int start, int length, Color foreground, Color background) {
     super(null, foreground, background);
     this.start = start;
     this.length = length;
@@ -77,7 +77,7 @@
  * @param background background color of the style, null if none
  * @param fontStyle font style of the style, may be DWT.NORMAL, DWT.ITALIC or DWT.BOLD
  */
-public StyleRange(int start, int length, Color foreground, Color background, int fontStyle) {
+public this(int start, int length, Color foreground, Color background, int fontStyle) {
     this(start, length, foreground, background);
     this.fontStyle = fontStyle;
 }
--- a/dwt/custom/StyledText.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledText.d	Wed Aug 27 14:02:31 2008 +0200
@@ -205,7 +205,7 @@
      * @param printer printer device to print on.
      * @param printOptions print options
      */     
-    Printing(StyledText styledText, Printer printer, StyledTextPrintOptions printOptions) {
+    this(StyledText styledText, Printer printer, StyledTextPrintOptions printOptions) {
         this.printer = printer;
         this.printOptions = printOptions;
         this.mirrored = (styledText.getStyle() & DWT.MIRRORED) !is 0;
@@ -676,7 +676,7 @@
      *  beginning of document
      * @param length length of content to write
      */
-    public RTFWriter(int start, int length) {
+    public this(int start, int length) {
         super(start, length);
         colorTable = new Vector();
         fontTable = new Vector();
@@ -1054,7 +1054,7 @@
      * @param start start offset of content to write, 0 based from beginning of document
      * @param length length of content to write
      */
-    public TextWriter(int start, int length) {
+    public this(int start, int length) {
         buffer = new StringBuffer(length);
         startOffset = start;
         endOffset = start + length;
@@ -1210,7 +1210,7 @@
  * @see DWT#WRAP
  * @see #getStyle
  */
-public StyledText(Composite parent, int style) {
+public this(Composite parent, int style) {
     super(parent, checkStyle(style));
     // set the fg in the OS to ensure that these are the same as StyledText, necessary
     // for ensuring that the bg/fg the IME box uses is the same as what StyledText uses
--- a/dwt/custom/StyledTextDropTargetEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledTextDropTargetEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -61,7 +61,7 @@
      * 
      * @param styledText the <code>StyledText</code> over which the user positions the cursor to drop the data
      */
-    public StyledTextDropTargetEffect(StyledText styledText) {
+    public this(StyledText styledText) {
         super(styledText);
         paintListener = new Listener () {
             public void handleEvent (Event event) {
--- a/dwt/custom/StyledTextEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledTextEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -41,7 +41,7 @@
     int descent;
     StyleRange style;
 
-StyledTextEvent (StyledTextContent content) {
+this (StyledTextContent content) {
     super();
     data = content; 
 }
--- a/dwt/custom/StyledTextListener.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledTextListener.d	Wed Aug 27 14:02:31 2008 +0200
@@ -17,7 +17,7 @@
 class StyledTextListener : TypedListener {
 /**
  */
-StyledTextListener(DWTEventListener listener) {
+this(DWTEventListener listener) {
     super(listener);
 }
 /**
--- a/dwt/custom/StyledTextRenderer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/StyledTextRenderer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -75,9 +75,9 @@
         bool justify;
         int[] segments;
 
-        public LineInfo() {
+        public this() {
         }
-        public LineInfo(LineInfo info) {
+        public this(LineInfo info) {
             if (info !is null) {
                 flags = info.flags;
                 background = info.background;
@@ -89,7 +89,7 @@
         }
     }
     
-StyledTextRenderer(Device device, StyledText styledText) {
+this(Device device, StyledText styledText) {
     this.device = device;
     this.styledText = styledText;
 }
--- a/dwt/custom/TableCursor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TableCursor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -173,7 +173,7 @@
  * @see Widget#checkSubclass()
  * @see Widget#getStyle()
  */
-public TableCursor(Table parent, int style) {
+public this(Table parent, int style) {
     super(parent, style);
     table = parent;
     setBackground(null);
--- a/dwt/custom/TableEditor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TableEditor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -83,7 +83,7 @@
 * @param table the Table Control above which this editor will be displayed
 *
 */
-public TableEditor (Table table) {
+public this (Table table) {
     super(table);
     this.table = table;
     
--- a/dwt/custom/TableTree.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TableTree.d	Wed Aug 27 14:02:31 2008 +0200
@@ -92,7 +92,7 @@
  * @see DWT#FULL_SELECTION
  * @see #getStyle
  */
-public TableTree(Composite parent, int style) {
+public this(Composite parent, int style) {
     super(parent, checkStyle (style));
     table = new Table(this, style);
     Listener tableListener = new Listener() {
--- a/dwt/custom/TableTreeEditor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TableTreeEditor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -92,7 +92,7 @@
 * @param tableTree the TableTree Control above which this editor will be displayed
 *
 */
-public TableTreeEditor (TableTree tableTree) {
+public this (TableTree tableTree) {
     super(tableTree.getTable());
     this.tableTree = tableTree;
 
--- a/dwt/custom/TableTreeItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TableTreeItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -64,7 +64,7 @@
  * @see DWT
  * @see Widget#getStyle()
  */
-public TableTreeItem(TableTree parent, int style) {
+public this(TableTree parent, int style) {
     this (parent, style, parent.getItemCount());
 }
 
@@ -97,7 +97,7 @@
  * @see DWT
  * @see Widget#getStyle()
  */
-public TableTreeItem(TableTree parent, int style, int index) {
+public this(TableTree parent, int style, int index) {
     this (parent, null, style, index);
 }
 
@@ -129,7 +129,7 @@
  * @see DWT
  * @see Widget#getStyle()
  */
-public TableTreeItem(TableTreeItem parent, int style) {
+public this(TableTreeItem parent, int style) {
     this (parent, style, parent.getItemCount());
 }
 
@@ -162,11 +162,11 @@
  * @see DWT
  * @see Widget#getStyle()
  */
-public TableTreeItem(TableTreeItem parent, int style, int index) {
+public this(TableTreeItem parent, int style, int index) {
     this (parent.getParent(), parent, style, index);
 }
 
-TableTreeItem(TableTree parent, TableTreeItem parentItem, int style, int index) {
+this(TableTree parent, TableTreeItem parentItem, int style, int index) {
     super(parent, style);
     this.parent = parent;
     this.parentItem = parentItem;
--- a/dwt/custom/TextChangedEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TextChangedEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -27,7 +27,7 @@
  * @param source the object that will be sending the TextChangedEvent, 
  *  cannot be null  
  */
-public TextChangedEvent(StyledTextContent source) {
+public this(StyledTextContent source) {
     super(source);
 }
 }
--- a/dwt/custom/TextChangingEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TextChangingEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -53,10 +53,10 @@
  * @param source the object that will be sending the new TextChangingEvent, 
  *  cannot be null  
  */
-public TextChangingEvent(StyledTextContent source) {
+public this(StyledTextContent source) {
     super(source);
 }
-TextChangingEvent(StyledTextContent source, StyledTextEvent e) {
+this(StyledTextContent source, StyledTextEvent e) {
     super(source);
     start = e.start;
     replaceCharCount = e.replaceCharCount;
--- a/dwt/custom/TreeEditor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/TreeEditor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -83,7 +83,7 @@
 * @param tree the Tree Control above which this editor will be displayed
 *
 */
-public TreeEditor (Tree tree) {
+public this (Tree tree) {
     super(tree);
     this.tree = tree;
 
--- a/dwt/custom/ViewForm.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/custom/ViewForm.d	Wed Aug 27 14:02:31 2008 +0200
@@ -145,7 +145,7 @@
  * @see DWT#FLAT
  * @see #getStyle()
  */     
-public ViewForm(Composite parent, int style) {
+public this(Composite parent, int style) {
     super(parent, checkStyle(style));
     super.setLayout(new ViewFormLayout());
     
--- a/dwt/dnd/Clipboard.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/Clipboard.d	Wed Aug 27 14:02:31 2008 +0200
@@ -41,7 +41,7 @@
  * @see Clipboard#dispose
  * @see Clipboard#checkSubclass
  */
-public Clipboard(Display display) { 
+public this(Display display) { 
     checkSubclass ();
     if (display is null) {
         display = Display.getCurrent();
--- a/dwt/dnd/DNDListener.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DNDListener.d	Wed Aug 27 14:02:31 2008 +0200
@@ -20,7 +20,7 @@
  * DNDListener constructor comment.
  * @param listener dwt.internal.DWTEventListener
  */
-DNDListener(DWTEventListener listener) {
+this(DWTEventListener listener) {
     super(listener);
 }
 public void handleEvent (Event e) {
--- a/dwt/dnd/DragSource.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DragSource.d	Wed Aug 27 14:02:31 2008 +0200
@@ -142,7 +142,7 @@
  * @see DND#DROP_MOVE
  * @see DND#DROP_LINK
  */
-public DragSource(Control control, int style) {
+public this(Control control, int style) {
     super (control, checkStyle(style));
     this.control = control;
     if (control.getData(DND.DRAG_SOURCE_KEY) !is null) {
--- a/dwt/dnd/DragSourceEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DragSourceEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -47,7 +47,7 @@
      *    <li>ERROR_NULL_ARGUMENT - if the control is null</li>
      * </ul>
      */
-    public DragSourceEffect(Control control) {
+    public this(Control control) {
         if (control is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
         this.control = control;
     }
--- a/dwt/dnd/DragSourceEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DragSourceEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
  *
  * @param e the untyped event containing the information
  */
-public DragSourceEvent(DNDEvent e) {
+public this(DNDEvent e) {
     super(e);
     this.data = e.data;
     this.detail = e.detail;
--- a/dwt/dnd/DropTarget.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DropTarget.d	Wed Aug 27 14:02:31 2008 +0200
@@ -140,7 +140,7 @@
  * @see DND#DROP_MOVE
  * @see DND#DROP_LINK
  */
-public DropTarget(Control control, int style) {
+public this(Control control, int style) {
     super(control, checkStyle(style));
     this.control = control;
     if (DragTrackingHandler is null || DragTrackingHandler is null) {
--- a/dwt/dnd/DropTargetEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DropTargetEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -60,7 +60,7 @@
      *    <li>ERROR_NULL_ARGUMENT - if the control is null</li>
      * </ul>
      */
-    public DropTargetEffect(Control control) {
+    public this(Control control) {
         if (control is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
         this.control = control;
     }
--- a/dwt/dnd/DropTargetEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/DropTargetEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -87,7 +87,7 @@
  *
  * @param e the untyped event containing the information
  */
-public DropTargetEvent(DNDEvent e) {
+public this(DNDEvent e) {
     super(e);
     this.data = e.data;
     this.x = e.x;
--- a/dwt/dnd/FileTransfer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/FileTransfer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -41,7 +41,7 @@
     static final int HFSID = registerType(HFS);
     static final int FURLID = registerType(FURL);
     
-FileTransfer() {}
+this() {}
 
 /**
  * Returns the singleton instance of the FileTransfer class.
--- a/dwt/dnd/HTMLTransfer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/HTMLTransfer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -31,7 +31,7 @@
     static final String HTML = "HTML"; //$NON-NLS-1$
     static final int HTMLID = registerType(HTML);
 
-HTMLTransfer() {}
+this() {}
 
 /**
  * Returns the singleton instance of the HTMLTransfer class.
--- a/dwt/dnd/ImageTransfer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/ImageTransfer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -41,7 +41,7 @@
 static final int PICTID = registerType(PICT);
 static final int TIFFID = registerType(TIFF);
 
-ImageTransfer() {
+this() {
 }
 
 /**
--- a/dwt/dnd/RTFTransfer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/RTFTransfer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
     static final String RTF = "RTF "; //$NON-NLS-1$
     static final int RTFID = registerType(RTF);
 
-RTFTransfer() {}
+this() {}
 
 /**
  * Returns the singleton instance of the RTFTransfer class.
--- a/dwt/dnd/TableDragSourceEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/TableDragSourceEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -36,7 +36,7 @@
      *
      * @param table the <code>Table</code> that the user clicks on to initiate the drag
      */
-    public TableDragSourceEffect(Table table) {
+    public this(Table table) {
         super(table);
     }
 }
--- a/dwt/dnd/TableDropTargetEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/TableDropTargetEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
      * 
      * @param table the <code>Table</code> over which the user positions the cursor to drop the data
      */
-    public TableDropTargetEffect(Table table) {
+    public this(Table table) {
         super(table);
     }
 
--- a/dwt/dnd/TextTransfer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/TextTransfer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,7 +35,7 @@
     static final int TEXTID = OS.kScrapFlavorTypeText;
     static final int UTEXTID = OS.kScrapFlavorTypeUnicode;
 
-TextTransfer() {}
+this() {}
 
 /**
  * Returns the singleton instance of the TextTransfer class.
--- a/dwt/dnd/TreeDragSourceEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/TreeDragSourceEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,7 +35,7 @@
      *
      * @param tree the <code>Tree</code> that the user clicks on to initiate the drag
      */
-    public TreeDragSourceEffect(Tree tree) {
+    public this(Tree tree) {
         super(tree);
     }
 }
--- a/dwt/dnd/TreeDropTargetEffect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dnd/TreeDropTargetEffect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -99,7 +99,7 @@
      * 
      * @param tree the <code>Tree</code> over which the user positions the cursor to drop the data
      */
-    public TreeDropTargetEffect(Tree tree) {
+    public this(Tree tree) {
         super(tree);
     }
 
--- a/dwt/dwthelper/utils.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/dwthelper/utils.d	Wed Aug 27 14:02:31 2008 +0200
@@ -786,7 +786,7 @@
 }
 
 void ExceptionPrintStackTrace( Exception e ){
-    ExceptionPrintStackTrace( e, Stderr );
+    this( e, Stderr );
 }
 void ExceptionPrintStackTrace( Exception e, Print!(char) print ){
     Exception exception = e;
--- a/dwt/effects/Effect.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/effects/Effect.d	Wed Aug 27 14:02:31 2008 +0200
@@ -18,7 +18,7 @@
 public class Effect {
     public int handle;
     
-    public Effect() {
+    public this() {
     }
 
     public void dispose() {
--- a/dwt/events/ArmEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/ArmEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -30,7 +30,7 @@
  *
  * @param e the untyped event containing the information
  */
-public ArmEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/ControlEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/ControlEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public ControlEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/DisposeEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/DisposeEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public DisposeEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/DragDetectEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/DragDetectEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -33,7 +33,7 @@
  *
  * @param e the untyped event containing the information
  */
-public DragDetectEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 }
--- a/dwt/events/ExpandEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/ExpandEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -34,7 +34,7 @@
  *
  * @param e the untyped event containing the information
  */
-public ExpandEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/FocusEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/FocusEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public FocusEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/HelpEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/HelpEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public HelpEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/KeyEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/KeyEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
  *
  * @param e the untyped event containing the information
  */
-public KeyEvent(Event e) {
+public this(Event e) {
     super(e);
     this.character = e.character;
     this.keyCode = e.keyCode;
--- a/dwt/events/MenuDetectEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/MenuDetectEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -52,7 +52,7 @@
  *
  * @param e the untyped event containing the information
  */
-public MenuDetectEvent(Event e) {
+public this(Event e) {
     super(e);
     this.x = e.x;
     this.y = e.y;
--- a/dwt/events/MenuEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/MenuEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public MenuEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/ModifyEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/ModifyEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public ModifyEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/MouseEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/MouseEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -75,7 +75,7 @@
  *
  * @param e the untyped event containing the information
  */
-public MouseEvent(Event e) {
+public this(Event e) {
     super(e);
     this.x = e.x;
     this.y = e.y;
--- a/dwt/events/PaintEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/PaintEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -72,7 +72,7 @@
  *
  * @param e the untyped event containing the information
  */
-public PaintEvent(Event e) {
+public this(Event e) {
     super(e);
     this.gc = e.gc;
     this.x = e.x;
--- a/dwt/events/SelectionEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/SelectionEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -107,7 +107,7 @@
  *
  * @param e the untyped event containing the information
  */
-public SelectionEvent(Event e) {
+public this(Event e) {
     super(e);
     this.item = e.item;
     this.x = e.x;
--- a/dwt/events/ShellEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/ShellEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -38,7 +38,7 @@
  *
  * @param e the untyped event containing the information
  */
-public ShellEvent(Event e) {
+public this(Event e) {
     super(e);
     this.doit = e.doit;
 }
--- a/dwt/events/TraverseEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/TraverseEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -118,7 +118,7 @@
  *
  * @param e the untyped event containing the information
  */
-public TraverseEvent(Event e) {
+public this(Event e) {
     super(e);
     this.detail = e.detail;
 }
--- a/dwt/events/TreeEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/TreeEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -32,7 +32,7 @@
  *
  * @param e the untyped event containing the information
  */
-public TreeEvent(Event e) {
+public this(Event e) {
     super(e);
 }
 
--- a/dwt/events/TypedEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/TypedEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -60,7 +60,7 @@
  *
  * @param object the object that fired the event
  */
-public TypedEvent(Object object) {
+public this(Object object) {
     super(object);
 }
 
@@ -70,7 +70,7 @@
  *
  * @param e the low level event to initialize the receiver with
  */
-public TypedEvent(Event e) {
+public this(Event e) {
     super(e.widget);
     this.display = e.display;
     this.widget = e.widget;
--- a/dwt/events/VerifyEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/events/VerifyEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -45,7 +45,7 @@
  *
  * @param e the untyped event containing the information
  */
-public VerifyEvent(Event e) {
+public this(Event e) {
     super(e);
     this.start = e.start;
     this.end = e.end;
--- a/dwt/graphics/Color.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Color.d	Wed Aug 27 14:02:31 2008 +0200
@@ -43,7 +43,7 @@
      */
     public float[] handle;
 
-Color(Device device) {
+this(Device device) {
     super(device);
 }
 
@@ -71,7 +71,7 @@
  *
  * @see #dispose
  */
-public Color(Device device, int red, int green, int blue) {
+public this(Device device, int red, int green, int blue) {
     super(device);
     init(red, green, blue);
     init();
@@ -99,7 +99,7 @@
  *
  * @see #dispose
  */
-public Color(Device device, RGB rgb) {
+public this(Device device, RGB rgb) {
     super(device);
     if (rgb is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     init(rgb.red, rgb.green, rgb.blue);
--- a/dwt/graphics/Cursor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Cursor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -65,7 +65,7 @@
 /**
  * Prevents uninitialized instances from being created outside the package.
  */
-Cursor(Device device) {
+this(Device device) {
     super(device);
 }
 
@@ -110,7 +110,7 @@
  * @see DWT#CURSOR_NO
  * @see DWT#CURSOR_HAND
  */
-public Cursor(Device device, int style) {
+public this(Device device, int style) {
     super(device);
     switch (style) {
         case DWT.CURSOR_HAND:           handle = NSCursor.pointingHandCursor(); break;
@@ -174,7 +174,7 @@
  *    <li>ERROR_NO_HANDLES - if a handle could not be obtained for cursor creation</li>
  * </ul>
  */
-public Cursor(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) {
+public this(Device device, ImageData source, ImageData mask, int hotspotX, int hotspotY) {
     super(device);
     if (source is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (mask is null) {
@@ -269,7 +269,7 @@
  * 
  * @since 3.0
  */
-public Cursor(Device device, ImageData source, int hotspotX, int hotspotY) {
+public this(Device device, ImageData source, int hotspotX, int hotspotY) {
     super(device);
     if (source is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (hotspotX >= source.width || hotspotX < 0 ||
--- a/dwt/graphics/Device.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Device.d	Wed Aug 27 14:02:31 2008 +0200
@@ -94,7 +94,7 @@
  * 
  * @since 3.1
  */
-public Device() {
+public this() {
     this(null);
 }
 
@@ -110,7 +110,7 @@
  * @see #init
  * @see DeviceData
  */
-public Device(DeviceData data) {
+public this(DeviceData data) {
     synchronized (Device.class) {
         if (data !is null) {
             debug = data.debug;
--- a/dwt/graphics/Font.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Font.d	Wed Aug 27 14:02:31 2008 +0200
@@ -46,7 +46,7 @@
      */
     public NSFont handle;
     
-Font(Device device) {
+this(Device device) {
     super(device);
 }
 
@@ -68,7 +68,7 @@
  *    <li>ERROR_NO_HANDLES - if a font could not be created from the given font data</li>
  * </ul>
  */
-public Font(Device device, FontData fd) {
+public this(Device device, FontData fd) {
     super(device);
     if (fd is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     init(fd.getName(), fd.getHeightF(), fd.getStyle(), fd.nsName);
@@ -98,7 +98,7 @@
  * 
  * @since 2.1
  */
-public Font(Device device, FontData[] fds) {
+public this(Device device, FontData[] fds) {
     super(device);
     if (fds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (fds.length is 0) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
@@ -132,7 +132,7 @@
  *    <li>ERROR_NO_HANDLES - if a font could not be created from the given arguments</li>
  * </ul>
  */
-public Font(Device device, String name, int height, int style) {
+public this(Device device, String name, int height, int style) {
     super(device);
     init(name, height, style, null);
     init();
--- a/dwt/graphics/FontData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/FontData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -96,7 +96,7 @@
 /**  
  * Constructs a new uninitialized font data.
  */
-public FontData () {
+public this () {
     this("", 12, DWT.NORMAL);
 }
 
@@ -119,7 +119,7 @@
  *
  * @see #toString
  */
-public FontData(String string) {
+public this(String string) {
     if (string is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     int start = 0;
     int end = string.indexOf('|');
@@ -190,7 +190,7 @@
  *    <li>ERROR_INVALID_ARGUMENT - if the height is negative</li>
  * </ul>
  */
-public FontData(String name, int height, int style) {
+public this(String name, int height, int style) {
     setName(name);
     setHeight(height);
     setStyle(style);
--- a/dwt/graphics/FontMetrics.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/FontMetrics.d	Wed Aug 27 14:02:31 2008 +0200
@@ -25,7 +25,7 @@
 public final class FontMetrics {
     int ascent, descent, averageCharWidth, leading, height;
 
-FontMetrics() {
+this() {
 }
 
 public static FontMetrics cocoa_new(int ascent, int descent, int averageCharWidth, int leading, int height) {
--- a/dwt/graphics/GC.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/GC.d	Wed Aug 27 14:02:31 2008 +0200
@@ -102,7 +102,7 @@
     static final float[] LINE_DASHDOT_ZERO = new float[]{9, 6, 3, 6};
     static final float[] LINE_DASHDOTDOT_ZERO = new float[]{9, 3, 3, 3, 3, 3};
 
-GC() {
+this() {
 }
 
 /**  
@@ -127,7 +127,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS if not called from the thread that created the drawable</li>
  * </ul>
  */
-public GC(Drawable drawable) {
+public this(Drawable drawable) {
     this(drawable, 0);
 }
 
@@ -158,7 +158,7 @@
  *  
  * @since 2.1.2
  */
-public GC(Drawable drawable, int style) {
+public this(Drawable drawable, int style) {
     if (drawable is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     GCData data = new GCData();
     data.style = checkStyle(style);
--- a/dwt/graphics/GlyphMetrics.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/GlyphMetrics.d	Wed Aug 27 14:02:31 2008 +0200
@@ -58,7 +58,7 @@
  *    <li>ERROR_INVALID_ARGUMENT - if the ascent, descent or width argument is negative</li>
  * </ul>
  */
-public GlyphMetrics(int ascent, int descent, int width) {
+public this(int ascent, int descent, int width) {
     if (ascent < 0 || descent < 0 || width < 0) {
             DWT.error(DWT.ERROR_INVALID_ARGUMENT);
     }
--- a/dwt/graphics/Image.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Image.d	Wed Aug 27 14:02:31 2008 +0200
@@ -136,7 +136,7 @@
      */
     static final int DEFAULT_SCANLINE_PAD = 4;
 
-Image(Device device) {
+this(Device device) {
     super(device);
 }
 
@@ -170,7 +170,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, int width, int height) {
+public this(Device device, int width, int height) {
     super(device);
     init(width, height);
     init();
@@ -207,7 +207,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, Image srcImage, int flag) {
+public this(Device device, Image srcImage, int flag) {
     super(device);
     if (srcImage is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (srcImage.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
@@ -337,7 +337,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, Rectangle bounds) {
+public this(Device device, Rectangle bounds) {
     super(device);
     if (bounds is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     init(bounds.width, bounds.height);
@@ -362,7 +362,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, ImageData data) {
+public this(Device device, ImageData data) {
     super(device);
     init(data);
     init();
@@ -393,7 +393,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, ImageData source, ImageData mask) {
+public this(Device device, ImageData source, ImageData mask) {
     super(device);
     if (source is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (mask is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
@@ -455,7 +455,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, InputStream stream) {
+public this(Device device, InputStream stream) {
     super(device);
     init(new ImageData(stream));
     init();
@@ -488,7 +488,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for image creation</li>
  * </ul>
  */
-public Image(Device device, String filename) {
+public this(Device device, String filename) {
     super(device);
     init(new ImageData(filename));
     init();
--- a/dwt/graphics/ImageData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/ImageData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -253,7 +253,7 @@
  *    <li>ERROR_NULL_ARGUMENT - if the palette is null</li>
  * </ul>
  */
-public ImageData(int width, int height, int depth, PaletteData palette) {
+public this(int width, int height, int depth, PaletteData palette) {
     this(width, height, depth, palette,
         4, null, 0, null,
         null, -1, -1, DWT.IMAGE_UNDEFINED,
@@ -278,7 +278,7 @@
  *    <li>ERROR_CANNOT_BE_ZERO - if the scanlinePad is zero</li>
  * </ul>
  */
-public ImageData(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data) {
+public this(int width, int height, int depth, PaletteData palette, int scanlinePad, byte[] data) {
     this(width, height, depth, palette,
         scanlinePad, checkData(data), 0, null,
         null, -1, -1, DWT.IMAGE_UNDEFINED,
@@ -328,7 +328,7 @@
  *
  * @see ImageLoader#load(InputStream)
  */
-public ImageData(InputStream stream) {
+public this(InputStream stream) {
     ImageData[] data = ImageDataLoader.load(stream);
     if (data.length < 1) DWT.error(DWT.ERROR_INVALID_IMAGE);
     ImageData i = data[0];
@@ -374,7 +374,7 @@
  *    <li>ERROR_UNSUPPORTED_FORMAT - if the image file contains an unrecognized format</li>
  * </ul>
  */
-public ImageData(String filename) {
+public this(String filename) {
     ImageData[] data = ImageDataLoader.load(filename);
     if (data.length < 1) DWT.error(DWT.ERROR_INVALID_IMAGE);
     ImageData i = data[0];
@@ -401,7 +401,7 @@
 /**
  * Prevents uninitialized instances from being created outside the package.
  */
-ImageData() {
+this() {
 }
 
 /**
@@ -410,7 +410,7 @@
  * This method is for internal use, and is not described further.
  * </p>
  */
-ImageData(
+this(
     int width, int height, int depth, PaletteData palette,
     int scanlinePad, byte[] data, int maskPad, byte[] maskData,
     byte[] alphaData, int alpha, int transparentPixel, int type,
--- a/dwt/graphics/ImageLoader.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/ImageLoader.d	Wed Aug 27 14:02:31 2008 +0200
@@ -93,7 +93,7 @@
 /**
  * Construct a new empty ImageLoader.
  */
-public ImageLoader() {
+public this() {
     reset();
 }
 
--- a/dwt/graphics/ImageLoaderEvent.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/ImageLoaderEvent.d	Wed Aug 27 14:02:31 2008 +0200
@@ -67,7 +67,7 @@
  * @param incrementCount the image data increment for the event
  * @param endOfImage the end of image flag for the event
  */
-public ImageLoaderEvent(ImageLoader source, ImageData imageData, int incrementCount, bool endOfImage) {
+public this(ImageLoader source, ImageData imageData, int incrementCount, bool endOfImage) {
     super(source);
     this.imageData = imageData;
     this.incrementCount = incrementCount;
--- a/dwt/graphics/LineAttributes.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/LineAttributes.d	Wed Aug 27 14:02:31 2008 +0200
@@ -85,7 +85,7 @@
  *
  * @param width the line width
  */
-public LineAttributes(float width) {
+public this(float width) {
     this(width, DWT.CAP_FLAT, DWT.JOIN_MITER, DWT.LINE_SOLID, null, 0, 10);
 }
     
@@ -96,7 +96,7 @@
  * @param cap the line cap style
  * @param join the line join style
  */
-public LineAttributes(float width, int cap, int join) {
+public this(float width, int cap, int join) {
     this(width, cap, join, DWT.LINE_SOLID, null, 0, 10);
 }
 
@@ -111,7 +111,7 @@
  * @param dashOffset the line dash style offset
  * @param miterLimit the line miter limit
  */
-public LineAttributes(float width, int cap, int join, int style, float[] dash, float dashOffset, float miterLimit) {
+public this(float width, int cap, int join, int style, float[] dash, float dashOffset, float miterLimit) {
     this.width = width;
     this.cap = cap;
     this.join = join;
--- a/dwt/graphics/PaletteData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/PaletteData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -107,7 +107,7 @@
  *    <li>ERROR_NULL_ARGUMENT - if the argument is null</li>
  * </ul>
  */
-public PaletteData(RGB[] colors) {
+public this(RGB[] colors) {
     if (colors is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     this.colors = colors;
     this.isDirect = false;
@@ -120,7 +120,7 @@
  * @param greenMask the green mask
  * @param blueMask the blue mask
  */
-public PaletteData(int redMask, int greenMask, int blueMask) {
+public this(int redMask, int greenMask, int blueMask) {
     this.redMask = redMask;
     this.greenMask = greenMask;
     this.blueMask = blueMask;
--- a/dwt/graphics/Path.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Path.d	Wed Aug 27 14:02:31 2008 +0200
@@ -80,7 +80,7 @@
  * 
  * @see #dispose()
  */
-public Path (Device device) {
+public this (Device device) {
     super(device);
     handle = NSBezierPath.bezierPath();
     if (handle is null) DWT.error(DWT.ERROR_NO_HANDLES);
@@ -89,7 +89,7 @@
     init();
 }
 
-public Path (Device device, Path path, float flatness) {
+public this (Device device, Path path, float flatness) {
     super(device);
     if (path is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (path.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
@@ -106,7 +106,7 @@
     init();
 }
 
-public Path (Device device, PathData data) {
+public this (Device device, PathData data) {
     this(device);
     if (data is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     init(data);
--- a/dwt/graphics/Pattern.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Pattern.d	Wed Aug 27 14:02:31 2008 +0200
@@ -67,7 +67,7 @@
  * 
  * @see #dispose()
  */
-public Pattern(Device device, Image image) {
+public this(Device device, Image image) {
     super(device);
     if (image is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (image.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
@@ -109,7 +109,7 @@
  * 
  * @see #dispose()
  */
-public Pattern(Device device, float x1, float y1, float x2, float y2, Color color1, Color color2) {
+public this(Device device, float x1, float y1, float x2, float y2, Color color1, Color color2) {
     this(device, x1, y1, x2, y2, color1, 0xFF, color2, 0xFF);
 }
 /**
@@ -148,7 +148,7 @@
  * 
  * @since 3.2
  */
-public Pattern(Device device, float x1, float y1, float x2, float y2, Color color1, int alpha1, Color color2, int alpha2) {
+public this(Device device, float x1, float y1, float x2, float y2, Color color1, int alpha1, Color color2, int alpha2) {
     super(device);
     if (color1 is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     if (color1.isDisposed()) DWT.error(DWT.ERROR_INVALID_ARGUMENT);
--- a/dwt/graphics/Point.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Point.d	Wed Aug 27 14:02:31 2008 +0200
@@ -58,7 +58,7 @@
  * @param x the x coordinate of the new point
  * @param y the y coordinate of the new point
  */
-public Point (int x, int y) {
+public this (int x, int y) {
     this.x = x;
     this.y = y;
 }
--- a/dwt/graphics/RGB.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/RGB.d	Wed Aug 27 14:02:31 2008 +0200
@@ -69,7 +69,7 @@
  *    <li>ERROR_INVALID_ARGUMENT - if the red, green or blue argument is not between 0 and 255</li>
  * </ul>
  */
-public RGB(int red, int green, int blue) {
+public this(int red, int green, int blue) {
     if ((red > 255) || (red < 0) ||
         (green > 255) || (green < 0) ||
         (blue > 255) || (blue < 0))
@@ -94,7 +94,7 @@
 * 
 * @since 3.2
 */
-public RGB(float hue, float saturation, float brightness) {
+public this(float hue, float saturation, float brightness) {
     if (hue < 0 || hue > 360 || saturation < 0 || saturation > 1 || 
         brightness < 0 || brightness > 1) {
         DWT.error(DWT.ERROR_INVALID_ARGUMENT);
--- a/dwt/graphics/Rectangle.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Rectangle.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,7 +74,7 @@
  * @param width the width of the rectangle
  * @param height the height of the rectangle
  */
-public Rectangle (int x, int y, int width, int height) {
+public this (int x, int y, int width, int height) {
     this.x = x;
     this.y = y;
     this.width = width;
--- a/dwt/graphics/Region.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Region.d	Wed Aug 27 14:02:31 2008 +0200
@@ -53,7 +53,7 @@
  *    <li>ERROR_NO_HANDLES if a handle could not be obtained for region creation</li>
  * </ul>
  */
-public Region() {
+public this() {
     this(null);
 }
 
@@ -76,14 +76,14 @@
  * 
  * @since 3.0
  */
-public Region(Device device) {
+public this(Device device) {
     super(device);
     handle = OS.NewRgn();
     if (handle is 0) DWT.error(DWT.ERROR_NO_HANDLES);
     init();
 }
 
-Region(Device device, int handle) {
+this(Device device, int handle) {
     super(device);
     this.handle = handle;
 }
--- a/dwt/graphics/Resource.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Resource.d	Wed Aug 27 14:02:31 2008 +0200
@@ -43,10 +43,10 @@
      */
     Device device;
 
-Resource() {
+this() {
 }
 
-Resource(Device device) {
+this(Device device) {
     if (device is null) device = Device.getDevice();
     if (device is null) DWT.error(DWT.ERROR_NULL_ARGUMENT);
     this.device = device;
--- a/dwt/graphics/TextLayout.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/TextLayout.d	Wed Aug 27 14:02:31 2008 +0200
@@ -92,7 +92,7 @@
  * 
  * @see #dispose()
  */
-public TextLayout (Device device) {
+public this (Device device) {
     super(device);
     wrapWidth = ascent = descent = -1;
     alignment = DWT.LEFT;
--- a/dwt/graphics/TextStyle.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/TextStyle.d	Wed Aug 27 14:02:31 2008 +0200
@@ -143,7 +143,7 @@
  *
  * @since 3.4
  */
-public TextStyle () {
+public this () {
 }
     
 /** 
@@ -154,7 +154,7 @@
  * @param foreground the foreground color of the style, <code>null</code> if none 
  * @param background the background color of the style, <code>null</code> if none
  */
-public TextStyle (Font font, Color foreground, Color background) {
+public this (Font font, Color foreground, Color background) {
     if (font !is null && font.isDisposed()) DWT.error (DWT.ERROR_INVALID_ARGUMENT);
     if (foreground !is null && foreground.isDisposed()) DWT.error (DWT.ERROR_INVALID_ARGUMENT);
     if (background !is null && background.isDisposed()) DWT.error (DWT.ERROR_INVALID_ARGUMENT);  
@@ -171,7 +171,7 @@
  *
  * @since 3.4
  */
-public TextStyle (TextStyle style) {
+public this (TextStyle style) {
     if (style is null) DWT.error (DWT.ERROR_INVALID_ARGUMENT);
     font = style.font;
     foreground = style.foreground;
--- a/dwt/graphics/Transform.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/graphics/Transform.d	Wed Aug 27 14:02:31 2008 +0200
@@ -69,7 +69,7 @@
  * 
  * @see #dispose()
  */
-public Transform (Device device) {
+public this (Device device) {
     this(device, 1, 0, 0, 1, 0, 0);
 }
 
@@ -98,7 +98,7 @@
  * 
  * @see #dispose()
  */
-public Transform(Device device, float[] elements) {
+public this(Device device, float[] elements) {
     this (device, checkTransform(elements)[0], elements[1], elements[2], elements[3], elements[4], elements[5]);
 }
 
@@ -131,7 +131,7 @@
  * 
  * @see #dispose()
  */
-public Transform (Device device, float m11, float m12, float m21, float m22, float dx, float dy) {
+public this (Device device, float m11, float m12, float m21, float m22, float dx, float dy) {
     super(device);
     handle = NSAffineTransform.transform();
     if (handle is null) DWT.error(DWT.ERROR_NO_HANDLES);
--- a/dwt/internal/cocoa/WebDataSource.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebDataSource.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,11 +12,11 @@
 
 public class WebDataSource : NSObject {
 
-public WebDataSource() {
+public this() {
     super();
 }
 
-public WebDataSource(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebDocumentRepresentation.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebDocumentRepresentation.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class WebDocumentRepresentation : NSObject {
 
-public WebDocumentRepresentation(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebFrame.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebFrame.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,11 +12,11 @@
 
 public class WebFrame : NSObject {
 
-public WebFrame() {
+public this() {
     super();
 }
 
-public WebFrame(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebFrameView.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebFrameView.d	Wed Aug 27 14:02:31 2008 +0200
@@ -2,11 +2,11 @@
 
 public class WebFrameView : NSObject {
 
-public WebFrameView() {
+public this() {
     super();
 }
 
-public WebFrameView(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebOpenPanelResultListener.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebOpenPanelResultListener.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class WebOpenPanelResultListener : NSObject {
 
-public WebOpenPanelResultListener(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebPolicyDecisionListener.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebPolicyDecisionListener.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class WebPolicyDecisionListener : NSObject {
 
-public WebPolicyDecisionListener(int id) {
+public this(int id) {
     super(id);
 }
     
--- a/dwt/internal/cocoa/WebPreferences.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebPreferences.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,11 +12,11 @@
 
 public class WebPreferences : NSObject {
 
-public WebPreferences() {
+public this() {
     super();
 }
 
-public WebPreferences(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/cocoa/WebView.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/cocoa/WebView.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,11 +12,11 @@
 
 public class WebView : NSView {
 
-public WebView() {
+public this() {
     super();
 }
 
-public WebView(int id) {
+public this(int id) {
     super(id);
 }
 
--- a/dwt/internal/image/JPEGAppn.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGAppn.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,11 +13,11 @@
 
 final class JPEGAppn : JPEGVariableSizeSegment {
 
-    public JPEGAppn(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGAppn(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
     }
     
--- a/dwt/internal/image/JPEGArithmeticConditioningTable.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGArithmeticConditioningTable.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,7 +13,7 @@
 
 final class JPEGArithmeticConditioningTable : JPEGVariableSizeSegment {
 
-    public JPEGArithmeticConditioningTable(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
     }
     
--- a/dwt/internal/image/JPEGComment.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGComment.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,11 +13,11 @@
 
 final class JPEGComment : JPEGVariableSizeSegment {
 
-    public JPEGComment(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGComment(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
     }
     
--- a/dwt/internal/image/JPEGEndOfImage.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGEndOfImage.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,11 +13,11 @@
 
 final class JPEGEndOfImage : JPEGFixedSizeSegment {
 
-    public JPEGEndOfImage() {
+    public this() {
         super();
     }
     
-    public JPEGEndOfImage(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
--- a/dwt/internal/image/JPEGFixedSizeSegment.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGFixedSizeSegment.d	Wed Aug 27 14:02:31 2008 +0200
@@ -15,16 +15,16 @@
 
 abstract class JPEGFixedSizeSegment : JPEGSegment {
 
-    public JPEGFixedSizeSegment() {
+    public this() {
         reference = new byte[fixedSize()];
         setSegmentMarker(signature());
     }
     
-    public JPEGFixedSizeSegment(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGFixedSizeSegment(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         reference = new byte[fixedSize()];
         try {
             byteStream.read(reference);
--- a/dwt/internal/image/JPEGFrameHeader.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGFrameHeader.d	Wed Aug 27 14:02:31 2008 +0200
@@ -19,11 +19,11 @@
     public int[] componentIdentifiers;
     public int[][] componentParameters;
 
-    public JPEGFrameHeader(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGFrameHeader(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
         initializeComponentParameters();
     }
--- a/dwt/internal/image/JPEGHuffmanTable.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGHuffmanTable.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,11 +74,11 @@
         (byte)250
     };
     
-public JPEGHuffmanTable(byte[] reference) {
+public this(byte[] reference) {
     super(reference);
 }
 
-public JPEGHuffmanTable(LEDataInputStream byteStream) {
+public this(LEDataInputStream byteStream) {
     super(byteStream);
     initialize();
 }
--- a/dwt/internal/image/JPEGQuantizationTable.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGQuantizationTable.d	Wed Aug 27 14:02:31 2008 +0200
@@ -35,11 +35,11 @@
         99, 99, 99, 99, 99, 99, 99, 99
     };
     
-public JPEGQuantizationTable(byte[] reference) {
+public this(byte[] reference) {
     super(reference);
 }
 
-public JPEGQuantizationTable(LEDataInputStream byteStream) {
+public this(LEDataInputStream byteStream) {
     super(byteStream);
 }
 
--- a/dwt/internal/image/JPEGRestartInterval.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGRestartInterval.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,7 +13,7 @@
 
 final class JPEGRestartInterval : JPEGFixedSizeSegment {
 
-    public JPEGRestartInterval(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
     }
     
--- a/dwt/internal/image/JPEGScanHeader.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGScanHeader.d	Wed Aug 27 14:02:31 2008 +0200
@@ -16,11 +16,11 @@
 final class JPEGScanHeader : JPEGVariableSizeSegment {
     public int[][] componentParameters;
 
-public JPEGScanHeader(byte[] reference) {
+public this(byte[] reference) {
     super(reference);
 }
 
-public JPEGScanHeader(LEDataInputStream byteStream) {
+public this(LEDataInputStream byteStream) {
     super(byteStream);
     initializeComponentParameters();
 }
--- a/dwt/internal/image/JPEGSegment.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGSegment.d	Wed Aug 27 14:02:31 2008 +0200
@@ -14,10 +14,10 @@
 class JPEGSegment {
     public byte[] reference;
 
-    JPEGSegment() {
+    this() {
     }
     
-    public JPEGSegment(byte[] reference) {
+    public this(byte[] reference) {
         this.reference = reference;
     }
     
--- a/dwt/internal/image/JPEGStartOfImage.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGStartOfImage.d	Wed Aug 27 14:02:31 2008 +0200
@@ -13,15 +13,15 @@
 
 final class JPEGStartOfImage : JPEGFixedSizeSegment {
 
-    public JPEGStartOfImage() {
+    public this() {
         super();
     }
     
-    public JPEGStartOfImage(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGStartOfImage(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         super(byteStream);
     }
     
--- a/dwt/internal/image/JPEGVariableSizeSegment.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/JPEGVariableSizeSegment.d	Wed Aug 27 14:02:31 2008 +0200
@@ -15,11 +15,11 @@
 
 abstract class JPEGVariableSizeSegment : JPEGSegment {
 
-    public JPEGVariableSizeSegment(byte[] reference) {
+    public this(byte[] reference) {
         super(reference);
     }
     
-    public JPEGVariableSizeSegment(LEDataInputStream byteStream) {
+    public this(LEDataInputStream byteStream) {
         try {
             byte[] header = new byte[4];
             byteStream.read(header);
--- a/dwt/internal/image/LEDataInputStream.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/LEDataInputStream.d	Wed Aug 27 14:02:31 2008 +0200
@@ -31,11 +31,11 @@
     protected int pos;
     
 
-    public LEDataInputStream(InputStream input) {
+    public this(InputStream input) {
         this(input, 512);
     }
     
-    public LEDataInputStream(InputStream input, int bufferSize) {
+    public this(InputStream input, int bufferSize) {
         this.in = input;
         if (bufferSize > 0) {
             buf = new byte[bufferSize];
--- a/dwt/internal/image/LEDataOutputStream.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/LEDataOutputStream.d	Wed Aug 27 14:02:31 2008 +0200
@@ -16,7 +16,7 @@
 
 final class LEDataOutputStream : OutputStream {
     OutputStream out;
-public LEDataOutputStream(OutputStream output) {
+public this(OutputStream output) {
     this.out = output;
 }
 /**
--- a/dwt/internal/image/PngChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -62,7 +62,7 @@
  * Construct a PngChunk using the reference bytes
  * given.
  */ 
-PngChunk(byte[] reference) {
+this(byte[] reference) {
     super();
     setReference(reference);
     if (reference.length < LENGTH_OFFSET + LENGTH_FIELD_LENGTH) DWT.error(DWT.ERROR_INVALID_IMAGE);
@@ -73,7 +73,7 @@
  * Construct a PngChunk with the specified number of
  * data bytes.
  */ 
-PngChunk(int dataLength) {
+this(int dataLength) {
     this(new byte[MIN_LENGTH + dataLength]);
     setLength(dataLength);
 }
--- a/dwt/internal/image/PngChunkReader.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngChunkReader.d	Wed Aug 27 14:02:31 2008 +0200
@@ -19,7 +19,7 @@
     PngIhdrChunk headerChunk;
     PngPlteChunk paletteChunk;
     
-PngChunkReader(LEDataInputStream inputStream) {
+this(LEDataInputStream inputStream) {
     this.inputStream = inputStream;
     readState = new PngFileReadState();
     headerChunk = null;
--- a/dwt/internal/image/PngDecodingDataStream.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngDecodingDataStream.d	Wed Aug 27 14:02:31 2008 +0200
@@ -27,7 +27,7 @@
     static final int PRIME = 65521;
     static final int MAX_BIT = 7;       
     
-PngDecodingDataStream(InputStream stream) throws IOException {
+this(InputStream stream) throws IOException {
     super();
     this.stream = stream;
     nextBitIndex = MAX_BIT + 1;
--- a/dwt/internal/image/PngDeflater.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngDeflater.d	Wed Aug 27 14:02:31 2008 +0200
@@ -38,7 +38,7 @@
     int hash, value;
     Link previous, next;
     
-    Link() {
+    this() {
     
         this.hash = 0;
         this.value = 0;
@@ -53,7 +53,7 @@
 
     int length, distance;
     
-    Match(int length, int distance) {
+    this(int length, int distance) {
     
         this.length = length;
         this.distance = distance;
@@ -103,7 +103,7 @@
 
     int code, extraBits, min, max;
     
-    Code(int code, int extraBits, int min, int max) {
+    this(int code, int extraBits, int min, int max) {
     
         this.code = code;
         this.extraBits = extraBits;
--- a/dwt/internal/image/PngEncoder.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngEncoder.d	Wed Aug 27 14:02:31 2008 +0200
@@ -42,7 +42,7 @@
     int filterMethod = 0;
     int interlaceMethod = 0;
     
-public PngEncoder(ImageLoader loader) {
+public this(ImageLoader loader) {
 
     this.loader = loader;
     this.data = loader.data[0];
--- a/dwt/internal/image/PngHuffmanTable.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngHuffmanTable.d	Wed Aug 27 14:02:31 2008 +0200
@@ -20,7 +20,7 @@
     static final int BAD_CODE = 0xFFFFFFF;
     static final int incs[] = {1391376, 463792, 198768, 86961, 33936, 13776, 4592, 1968, 861, 336, 112, 48, 21, 7, 3, 1};
 
-PngHuffmanTable (int[] lengths) {
+this (int[] lengths) {
     super();
     initialize(lengths);
     generateTable(lengths);
--- a/dwt/internal/image/PngHuffmanTables.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngHuffmanTables.d	Wed Aug 27 14:02:31 2008 +0200
@@ -68,12 +68,12 @@
     return FixedDistanceTable;
 }
 
-private PngHuffmanTables () {
+private this () {
     literalTable = getFixedLiteralTable();
     distanceTable = getFixedDistanceTable();
 }
 
-private PngHuffmanTables (PngDecodingDataStream stream) throws IOException {
+private this (PngDecodingDataStream stream) throws IOException {
     int literals = PngLzBlockReader.FIRST_LENGTH_CODE 
         + stream.getNextIdatBits(5);
     int distances = PngLzBlockReader.FIRST_DISTANCE_CODE 
--- a/dwt/internal/image/PngIdatChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngIdatChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -21,7 +21,7 @@
     static final int HEADER_BYTE2_DATA_OFFSET = DATA_OFFSET + 1;
     static final int ADLER_DATA_OFFSET = DATA_OFFSET + 2; // plus variable compressed data length
 
-PngIdatChunk(byte headerByte1, byte headerByte2, byte[] data, int adler) {
+this(byte headerByte1, byte headerByte2, byte[] data, int adler) {
     super(data.length + HEADER_BYTES_LENGTH + ADLER_FIELD_LENGTH);
     setType(TYPE_IDAT);
     reference[HEADER_BYTE1_DATA_OFFSET] = headerByte1;
@@ -31,7 +31,7 @@
     setCRC(computeCRC());
 }
         
-PngIdatChunk(byte[] reference) {
+this(byte[] reference) {
     super(reference);
 }
 
--- a/dwt/internal/image/PngIendChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngIendChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -15,13 +15,13 @@
 
 class PngIendChunk : PngChunk {
 
-PngIendChunk() {
+this() {
     super(0);
     setType(TYPE_IEND);
     setCRC(computeCRC());
 }
 
-PngIendChunk(byte[] reference){
+this(byte[] reference){
     super(reference);
 }
 
--- a/dwt/internal/image/PngIhdrChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngIhdrChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -47,7 +47,7 @@
     int width, height;
     byte bitDepth, colorType, compressionMethod, filterMethod, interlaceMethod;
     
-PngIhdrChunk(int width, int height, byte bitDepth, byte colorType, byte compressionMethod, byte filterMethod, byte interlaceMethod) {
+this(int width, int height, byte bitDepth, byte colorType, byte compressionMethod, byte filterMethod, byte interlaceMethod) {
     super(IHDR_DATA_LENGTH);
     setType(TYPE_IHDR);
     setWidth(width);
@@ -64,7 +64,7 @@
  * Construct a PNGChunk using the reference bytes
  * given.
  */ 
-PngIhdrChunk(byte[] reference) {
+this(byte[] reference) {
     super(reference);
     if (reference.length <= IHDR_DATA_LENGTH) DWT.error(DWT.ERROR_INVALID_IMAGE);
     width = getInt32(WIDTH_DATA_OFFSET);
--- a/dwt/internal/image/PngInputStream.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngInputStream.d	Wed Aug 27 14:02:31 2008 +0200
@@ -20,7 +20,7 @@
     
     final static int DATA_OFFSET = 8; 
     
-public PngInputStream(PngIdatChunk chunk, PngChunkReader reader) {
+public this(PngIdatChunk chunk, PngChunkReader reader) {
     this.chunk = chunk;
     this.reader = reader;
     length = chunk.getLength();
--- a/dwt/internal/image/PngLzBlockReader.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngLzBlockReader.d	Wed Aug 27 14:02:31 2008 +0200
@@ -55,7 +55,7 @@
     };  
 
 
-PngLzBlockReader(PngDecodingDataStream stream) {
+this(PngDecodingDataStream stream) {
     this.stream = stream;
     isLastBlock = false;
 }
--- a/dwt/internal/image/PngPlteChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngPlteChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -19,7 +19,7 @@
     
     int paletteSize;
 
-PngPlteChunk(PaletteData palette) {
+this(PaletteData palette) {
     super(palette.getRGBs().length * 3);
     paletteSize = length / 3;
     setType(TYPE_PLTE);
@@ -27,7 +27,7 @@
     setCRC(computeCRC());
 }       
 
-PngPlteChunk(byte[] reference){
+this(byte[] reference){
     super(reference);
     paletteSize = length / 3;
 }
--- a/dwt/internal/image/PngTrnsChunk.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/PngTrnsChunk.d	Wed Aug 27 14:02:31 2008 +0200
@@ -19,7 +19,7 @@
     static final int TRANSPARENCY_TYPE_ALPHAS = 1;
     static final int RGB_DATA_LENGTH = 6;
     
-PngTrnsChunk(RGB rgb) {
+this(RGB rgb) {
     super(RGB_DATA_LENGTH);
     setType(TYPE_tRNS);
     setInt16(DATA_OFFSET, rgb.red);
@@ -28,7 +28,7 @@
     setCRC(computeCRC());
 }
 
-PngTrnsChunk(byte[] reference){
+this(byte[] reference){
     super(reference);
 }
 
--- a/dwt/internal/image/TIFFDirectory.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/TIFFDirectory.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,13 +74,13 @@
     
     static final int IFD_ENTRY_SIZE = 12;
     
-public TIFFDirectory(TIFFRandomFileAccess file, bool isLittleEndian, ImageLoader loader) {
+public this(TIFFRandomFileAccess file, bool isLittleEndian, ImageLoader loader) {
     this.file = file;
     this.isLittleEndian = isLittleEndian;
     this.loader = loader;
 }
 
-public TIFFDirectory(ImageData image) {
+public this(ImageData image) {
     this.image = image;
 }
 
--- a/dwt/internal/image/TIFFRandomFileAccess.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/image/TIFFRandomFileAccess.d	Wed Aug 27 14:02:31 2008 +0200
@@ -21,7 +21,7 @@
     static final int CHUNK_SIZE = 8192;
     static final int LIST_SIZE = 128;
 
-public TIFFRandomFileAccess(LEDataInputStream stream) {
+public this(LEDataInputStream stream) {
     inputStream = stream;
     start = current = next = inputStream.getPosition();
     buffers = new byte[LIST_SIZE][];
--- a/dwt/internal/theme/ButtonDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ButtonDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class ButtonDrawData : DrawData {
     
-public ButtonDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/ComboDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ComboDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class ComboDrawData : DrawData {
 
-public ComboDrawData() {
+public this() {
     state = new int[2];
 }
 
--- a/dwt/internal/theme/DrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/DrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -64,7 +64,7 @@
     public static final int COMBO_ARROW = 1;
     
 
-public DrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/ExpanderDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ExpanderDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class ExpanderDrawData : DrawData {
     
-public ExpanderDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/GroupDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/GroupDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -17,7 +17,7 @@
     public int headerHeight;
     public Rectangle headerArea;
     
-public GroupDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/ProgressBarDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ProgressBarDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class ProgressBarDrawData : RangeDrawData {
 
-public ProgressBarDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/ScaleDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ScaleDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -14,7 +14,7 @@
     public int increment;
     public int pageIncrement;
     
-public ScaleDrawData() {
+public this() {
     state = new int[4];
 }
 
--- a/dwt/internal/theme/ScrollBarDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ScrollBarDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -15,7 +15,7 @@
     public int increment;
     public int pageIncrement;
     
-public ScrollBarDrawData() {
+public this() {
     state = new int[6];
 }
 
--- a/dwt/internal/theme/TabFolderDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/TabFolderDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -21,7 +21,7 @@
     public int selectedWidth;
     public int spacing;
     
-public TabFolderDrawData() {
+public this() {
     state = new int[1];
     if (DWT.getPlatform().opEquals("gtk")) {
         spacing = -2;
--- a/dwt/internal/theme/TabItemDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/TabItemDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -16,7 +16,7 @@
     public TabFolderDrawData parent;
     public int position;
 
-public TabItemDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/Theme.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/Theme.d	Wed Aug 27 14:02:31 2008 +0200
@@ -16,7 +16,7 @@
 public class Theme {
     Device device;
     
-public Theme(Device device) {
+public this(Device device) {
     this.device = device;
 }
 
--- a/dwt/internal/theme/ToolBarDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ToolBarDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -12,7 +12,7 @@
 
 public class ToolBarDrawData : DrawData {
     
-public ToolBarDrawData() {
+public this() {
     state = new int[1];
 }
 
--- a/dwt/internal/theme/ToolItemDrawData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/internal/theme/ToolItemDrawData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -14,7 +14,7 @@
 
     public ToolBarDrawData parent;
 
-public ToolItemDrawData() {
+public this() {
     state = new int[2];
 }
 
--- a/dwt/layout/FillLayout.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/FillLayout.d	Wed Aug 27 14:02:31 2008 +0200
@@ -93,7 +93,7 @@
 /**
  * Constructs a new instance of this class.
  */
-public FillLayout () {
+public this () {
 }
 
 /**
@@ -103,7 +103,7 @@
  * 
  * @since 2.0
  */
-public FillLayout (int type) {
+public this (int type) {
     this.type = type;
 }
 
--- a/dwt/layout/FormAttachment.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/FormAttachment.d	Wed Aug 27 14:02:31 2008 +0200
@@ -140,7 +140,7 @@
  * 
  * @since 3.2
  */
-public FormAttachment () {
+public this () {
 }
 
 /**
@@ -153,7 +153,7 @@
  * 
  * @since 3.0
  */
-public FormAttachment (int numerator) {
+public this (int numerator) {
     this (numerator, 100, 0);
 }
 
@@ -166,7 +166,7 @@
  * @param numerator the percentage of the position
  * @param offset the offset of the side from the position
  */
-public FormAttachment (int numerator, int offset) {
+public this (int numerator, int offset) {
     this (numerator, 100, offset);
 }
 
@@ -180,7 +180,7 @@
  * @param denominator the denominator of the position
  * @param offset the offset of the side from the position
  */
-public FormAttachment (int numerator, int denominator, int offset) {
+public this (int numerator, int denominator, int offset) {
     if (denominator is 0) DWT.error (DWT.ERROR_CANNOT_BE_ZERO);
     this.numerator = numerator;
     this.denominator = denominator;
@@ -196,7 +196,7 @@
  * 
  * @param control the control the side is attached to
  */
-public FormAttachment (Control control) {
+public this (Control control) {
     this (control, 0, DWT.DEFAULT);
 }
 
@@ -209,7 +209,7 @@
  * @param control the control the side is attached to
  * @param offset the offset of the side from the control
  */
-public FormAttachment (Control control, int offset) {
+public this (Control control, int offset) {
     this (control, offset, DWT.DEFAULT);
 }
 
@@ -221,7 +221,7 @@
  * @param offset the offset of the side from the control
  * @param alignment the alignment of the side to the control it is attached to
  */
-public FormAttachment (Control control, int offset, int alignment) {
+public this (Control control, int offset, int alignment) {
     this.control = control;
     this.offset = offset;
     this.alignment = alignment;
--- a/dwt/layout/FormData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/FormData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -95,7 +95,7 @@
  * Constructs a new instance of FormData using
  * default values.
  */
-public FormData () {
+public this () {
 }
     
 /**
@@ -106,7 +106,7 @@
  * @param width a minimum width for the control
  * @param height a minimum height for the control
  */
-public FormData (int width, int height) {
+public this (int width, int height) {
     this.width = width;
     this.height = height;
 }
--- a/dwt/layout/FormLayout.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/FormLayout.d	Wed Aug 27 14:02:31 2008 +0200
@@ -162,7 +162,7 @@
 /**
  * Constructs a new instance of this class.
  */
-public FormLayout () {
+public this () {
 }
 
 /*
--- a/dwt/layout/GridData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/GridData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -397,7 +397,7 @@
  * Constructs a new instance of GridData using
  * default values.
  */
-public GridData () {
+public this () {
     super ();
 }
 
@@ -407,7 +407,7 @@
  * 
  * @param style the GridData style
  */
-public GridData (int style) {
+public this (int style) {
     super ();
     if ((style & VERTICAL_ALIGN_BEGINNING) !is 0) verticalAlignment = BEGINNING;
     if ((style & VERTICAL_ALIGN_CENTER) !is 0) verticalAlignment = CENTER;
@@ -431,7 +431,7 @@
  * 
  * @since 3.0
  */
-public GridData (int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace) {
+public this (int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace) {
     this (horizontalAlignment, verticalAlignment, grabExcessHorizontalSpace, grabExcessVerticalSpace, 1, 1);
 }
 
@@ -447,7 +447,7 @@
  * 
  * @since 3.0
  */
-public GridData (int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace, int horizontalSpan, int verticalSpan) {
+public this (int horizontalAlignment, int verticalAlignment, bool grabExcessHorizontalSpace, bool grabExcessVerticalSpace, int horizontalSpan, int verticalSpan) {
     super ();
     this.horizontalAlignment = horizontalAlignment;
     this.verticalAlignment = verticalAlignment;
@@ -467,7 +467,7 @@
  * 
  * @since 3.0
  */
-public GridData (int width, int height) {
+public this (int width, int height) {
     super ();
     this.widthHint = width;
     this.heightHint = height;
--- a/dwt/layout/GridLayout.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/GridLayout.d	Wed Aug 27 14:02:31 2008 +0200
@@ -142,7 +142,7 @@
 /**
  * Constructs a new instance of this class.
  */
-public GridLayout () {}
+public this () {}
 
 /**
  * Constructs a new instance of this class given the
@@ -156,7 +156,7 @@
  * 
  * @since 2.0
  */
-public GridLayout (int numColumns, bool makeColumnsEqualWidth) {
+public this (int numColumns, bool makeColumnsEqualWidth) {
     this.numColumns = numColumns;
     this.makeColumnsEqualWidth = makeColumnsEqualWidth;
 }
--- a/dwt/layout/RowData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/RowData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -73,7 +73,7 @@
  * Constructs a new instance of RowData using
  * default values.
  */
-public RowData () {
+public this () {
 }
 
 /**
@@ -84,7 +84,7 @@
  * @param width a minimum width for the control
  * @param height a minimum height for the control
  */
-public RowData (int width, int height) {
+public this (int width, int height) {
     this.width = width;
     this.height = height;
 }
@@ -97,7 +97,7 @@
  * @param point a point whose x coordinate specifies a minimum width for the control
  * and y coordinate specifies a minimum height for the control
  */
-public RowData (Point point) {
+public this (Point point) {
     this (point.x, point.y);
 }
 
--- a/dwt/layout/RowLayout.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/layout/RowLayout.d	Wed Aug 27 14:02:31 2008 +0200
@@ -186,7 +186,7 @@
 /**
  * Constructs a new instance of this class.
  */
-public RowLayout () {
+public this () {
 }
 
 /**
@@ -196,7 +196,7 @@
  * 
  * @since 2.0
  */
-public RowLayout (int type) {
+public this (int type) {
     this.type = type;
 }
 
--- a/dwt/opengl/GLCanvas.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/opengl/GLCanvas.d	Wed Aug 27 14:02:31 2008 +0200
@@ -47,7 +47,7 @@
  *     <li>ERROR_UNSUPPORTED_DEPTH when the requested attributes cannot be provided</ul> 
  * </ul>
  */
-public GLCanvas (Composite parent, int style, GLData data) {
+public this (Composite parent, int style, GLData data) {
     super (parent, style);
     if (data is null) DWT.error (DWT.ERROR_NULL_ARGUMENT);
     int attrib [] = new int [MAX_ATTRIBUTES];
--- a/dwt/printing/PrintDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/printing/PrintDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -52,7 +52,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public PrintDialog (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.PRIMARY_MODAL);
 }
 
@@ -84,7 +84,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public PrintDialog (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, style);
     checkSubclass ();
 }
--- a/dwt/printing/Printer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/printing/Printer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -134,7 +134,7 @@
  *
  * @see Device#dispose
  */
-public Printer() {
+public this() {
     this(null);
 }
 
@@ -156,7 +156,7 @@
  *
  * @see Device#dispose
  */
-public Printer(PrinterData data) {
+public this(PrinterData data) {
     super (checkNull(data));
 }
 
--- a/dwt/printing/PrinterData.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/printing/PrinterData.d	Wed Aug 27 14:02:31 2008 +0200
@@ -141,7 +141,7 @@
      * 
      * @see Printer#getDefaultPrinterData
      */
-    public PrinterData() {
+    public this() {
     }
 
     /**
@@ -154,7 +154,7 @@
      * @see #driver
      * @see #name
      */
-    public PrinterData(String driver, String name) {
+    public this(String driver, String name) {
         this.driver = driver;
         this.name = name;
     }
--- a/dwt/program/Program.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/program/Program.d	Wed Aug 27 14:02:31 2008 +0200
@@ -31,7 +31,7 @@
 /**
  * Prevents uninitialized instances from being created outside the package.
  */
-Program () {
+this () {
 }
 
 /**
--- a/dwt/widgets/Button.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Button.d	Wed Aug 27 14:02:31 2008 +0200
@@ -94,7 +94,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Button (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Canvas.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Canvas.d	Wed Aug 27 14:02:31 2008 +0200
@@ -50,7 +50,7 @@
     Caret caret;
     IME ime;
 
-Canvas () {
+this () {
     /* Do nothing */
 }
 
@@ -92,7 +92,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Canvas (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, style);
 }
 
--- a/dwt/widgets/Caret.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Caret.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,7 +74,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Caret (Canvas parent, int style) {
+public this (Canvas parent, int style) {
     super (parent, style);
     this.parent = parent;
     createWidget ();
--- a/dwt/widgets/ColorDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ColorDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -58,7 +58,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ColorDialog(Shell parent) {
+public this(Shell parent) {
     this(parent, DWT.APPLICATION_MODAL);
 }
 
@@ -90,7 +90,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ColorDialog(Shell parent, int style) {
+public this(Shell parent, int style) {
     super(parent, style);
     checkSubclass ();
 }
--- a/dwt/widgets/Combo.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Combo.d	Wed Aug 27 14:02:31 2008 +0200
@@ -119,7 +119,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Combo (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Composite.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Composite.d	Wed Aug 27 14:02:31 2008 +0200
@@ -60,7 +60,7 @@
     int scrolledVisibleRgn, siblingsVisibleRgn;
     int layoutCount, backgroundMode;
 
-Composite () {
+this () {
     /* Do nothing */
 }
 
@@ -94,7 +94,7 @@
  * @see DWT#NO_RADIO_GROUP
  * @see Widget#getStyle
  */
-public Composite (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, style);
 }
 
--- a/dwt/widgets/Control.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Control.d	Wed Aug 27 14:02:31 2008 +0200
@@ -97,7 +97,7 @@
 
 //  static final String RESET_VISIBLE_REGION = "dwt.internal.resetVisibleRegion";
 
-Control () {
+this () {
     /* Do nothing */
 }
 
@@ -129,7 +129,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Control (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, style);
     this.parent = parent;
     createWidget ();
--- a/dwt/widgets/CoolBar.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/CoolBar.d	Wed Aug 27 14:02:31 2008 +0200
@@ -85,7 +85,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public CoolBar (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle(style));
     if ((style & DWT.VERTICAL) !is 0) {
         this.style |= DWT.VERTICAL;
--- a/dwt/widgets/CoolItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/CoolItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -90,7 +90,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public CoolItem (CoolBar parent, int style) {
+public this (CoolBar parent, int style) {
     super(parent, style);
     this.parent = parent;
     parent.createItem (this, parent.getItemCount());
@@ -128,7 +128,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public CoolItem (CoolBar parent, int style, int index) {
+public this (CoolBar parent, int style, int index) {
     super(parent, style);
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/DateTime.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/DateTime.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public DateTime (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Decorations.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Decorations.d	Wed Aug 27 14:02:31 2008 +0200
@@ -104,7 +104,7 @@
     Control savedFocus;
     Button defaultButton;
     
-Decorations () {
+this () {
     /* Do nothing */
 }
 
@@ -146,7 +146,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Decorations (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Dialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Dialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -94,7 +94,7 @@
  *    <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the parent</li>
  * </ul>
  */
-public Dialog (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.PRIMARY_MODAL);
 }
 
@@ -124,7 +124,7 @@
  * @see DWT#APPLICATION_MODAL
  * @see DWT#SYSTEM_MODAL
  */
-public Dialog (Shell parent, int style) {
+public this (Shell parent, int style) {
     checkParent (parent);
     this.parent = parent;
     this.style = style;
--- a/dwt/widgets/DirectoryDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/DirectoryDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -50,7 +50,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public DirectoryDialog (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.APPLICATION_MODAL);
 }
 
@@ -78,7 +78,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public DirectoryDialog (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, style);
     checkSubclass ();
 }
--- a/dwt/widgets/Display.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Display.d	Wed Aug 27 14:02:31 2008 +0200
@@ -516,7 +516,7 @@
  * @see Widget#checkSubclass
  * @see Shell
  */
-public Display () {
+public this () {
     this (null);
 }
 
@@ -525,7 +525,7 @@
  * 
  * @param data the device data
  */
-public Display (DeviceData data) {
+public this (DeviceData data) {
     super (data);
 }
 
--- a/dwt/widgets/ExpandBar.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ExpandBar.d	Wed Aug 27 14:02:31 2008 +0200
@@ -86,7 +86,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ExpandBar (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
     items = new ExpandItem [4]; 
 
--- a/dwt/widgets/ExpandItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ExpandItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,7 +74,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ExpandItem (ExpandBar parent, int style) {
+public this (ExpandBar parent, int style) {
     this (parent, style, checkNull (parent).getItemCount ());
 }
 
@@ -108,7 +108,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ExpandItem (ExpandBar parent, int style, int index) {
+public this (ExpandBar parent, int style, int index) {
     super (parent, style);
     this.parent = parent;
     parent.createItem (this, style, index);
--- a/dwt/widgets/FileDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/FileDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -59,7 +59,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public FileDialog (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.APPLICATION_MODAL);
 }
 
@@ -87,7 +87,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public FileDialog (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, style);
     checkSubclass ();
 }
--- a/dwt/widgets/FontDialog.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/FontDialog.d	Wed Aug 27 14:02:31 2008 +0200
@@ -60,7 +60,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public FontDialog (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.APPLICATION_MODAL);
 }
 
@@ -88,7 +88,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public FontDialog (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, style);
     checkSubclass ();
 }
--- a/dwt/widgets/Group.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Group.d	Wed Aug 27 14:02:31 2008 +0200
@@ -80,7 +80,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Group (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/IME.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/IME.d	Wed Aug 27 14:02:31 2008 +0200
@@ -28,14 +28,14 @@
 /**
  * Prevents uninitialized instances from being created outside the package.
  */
-IME () {
+this () {
 }
 
 /**
  * 
  * @see DWT
  */
-public IME (Canvas parent, int style) {
+public this (Canvas parent, int style) {
     super (parent, style);
     this.parent = parent;
     createWidget ();
--- a/dwt/widgets/Item.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Item.d	Wed Aug 27 14:02:31 2008 +0200
@@ -60,7 +60,7 @@
  * @see DWT
  * @see Widget#getStyle
  */
-public Item (Widget parent, int style) {
+public this (Widget parent, int style) {
     super (parent, style);
     text = "";
 }
@@ -95,7 +95,7 @@
  * @see DWT
  * @see Widget#getStyle
  */
-public Item (Widget parent, int style, int index) {
+public this (Widget parent, int style, int index) {
     this (parent, style);
 }
 
--- a/dwt/widgets/Label.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Label.d	Wed Aug 27 14:02:31 2008 +0200
@@ -99,7 +99,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Label (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Link.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Link.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Link (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, style);
 }
 
--- a/dwt/widgets/List.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/List.d	Wed Aug 27 14:02:31 2008 +0200
@@ -88,7 +88,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public List (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Menu.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Menu.d	Wed Aug 27 14:02:31 2008 +0200
@@ -85,7 +85,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Menu (Control parent) {
+public this (Control parent) {
     this (checkNull (parent).menuShell (), DWT.POP_UP);
 }
 
@@ -120,7 +120,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Menu (Decorations parent, int style) {
+public this (Decorations parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     createWidget ();
@@ -146,7 +146,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Menu (Menu parentMenu) {
+public this (Menu parentMenu) {
     this (checkNull (parentMenu).parent, DWT.DROP_DOWN);
 }
 
@@ -170,7 +170,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Menu (MenuItem parentItem) {
+public this (MenuItem parentItem) {
     this (checkNull (parentItem).parent);
 }
 
--- a/dwt/widgets/MenuItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/MenuItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -82,7 +82,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public MenuItem (Menu parent, int style) {
+public this (Menu parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, parent.getItemCount ());
@@ -124,7 +124,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public MenuItem (Menu parent, int style, int index) {
+public this (Menu parent, int style, int index) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/MessageBox.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/MessageBox.d	Wed Aug 27 14:02:31 2008 +0200
@@ -56,7 +56,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public MessageBox (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.OK | DWT.ICON_INFORMATION | DWT.APPLICATION_MODAL);
 }
 
@@ -83,7 +83,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public MessageBox (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, checkStyle (style));
     checkSubclass ();
 }
--- a/dwt/widgets/Monitor.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Monitor.d	Wed Aug 27 14:02:31 2008 +0200
@@ -29,7 +29,7 @@
 /**
  * Prevents uninitialized instances from being created outside the package.
  */
-Monitor () {    
+this () {    
 }
     
 /**
--- a/dwt/widgets/ProgressBar.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ProgressBar.d	Wed Aug 27 14:02:31 2008 +0200
@@ -69,7 +69,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ProgressBar (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/RunnableLock.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/RunnableLock.d	Wed Aug 27 14:02:31 2008 +0200
@@ -25,7 +25,7 @@
     Thread thread;
     Throwable throwable;
     
-RunnableLock (Runnable runnable) {
+this (Runnable runnable) {
     this.runnable = runnable;
 }
 
--- a/dwt/widgets/Sash.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Sash.d	Wed Aug 27 14:02:31 2008 +0200
@@ -78,7 +78,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Sash (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
     int cursorStyle = (style & DWT.VERTICAL) !is 0 ? DWT.CURSOR_SIZEWE : DWT.CURSOR_SIZENS;
     sizeCursor = new Cursor (display, cursorStyle);
--- a/dwt/widgets/Scale.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Scale.d	Wed Aug 27 14:02:31 2008 +0200
@@ -72,7 +72,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Scale (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/ScrollBar.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ScrollBar.d	Wed Aug 27 14:02:31 2008 +0200
@@ -94,7 +94,7 @@
     id target;
     int actionSelector;;
 
-ScrollBar () {
+this () {
     /* Do nothing */
 }
 
--- a/dwt/widgets/Scrollable.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Scrollable.d	Wed Aug 27 14:02:31 2008 +0200
@@ -42,7 +42,7 @@
     SWTScrollView scrollView;
     ScrollBar horizontalBar, verticalBar;
     
-Scrollable () {
+this () {
     /* Do nothing */
 }
 
@@ -75,7 +75,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Scrollable (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, style);
 }
 
--- a/dwt/widgets/Shell.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Shell.d	Wed Aug 27 14:02:31 2008 +0200
@@ -149,7 +149,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public Shell () {
+public this () {
     this ((Display) null);
 }
 
@@ -188,7 +188,7 @@
  * @see DWT#APPLICATION_MODAL
  * @see DWT#SYSTEM_MODAL
  */
-public Shell (int style) {
+public this (int style) {
     this ((Display) null, style);
 }
 
@@ -211,7 +211,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public Shell (Display display) {
+public this (Display display) {
     this (display, DWT.SHELL_TRIM);
 }
 
@@ -258,11 +258,11 @@
  * @see DWT#APPLICATION_MODAL
  * @see DWT#SYSTEM_MODAL
  */
-public Shell (Display display, int style) {
+public this (Display display, int style) {
     this (display, null, style, 0, false);
 }
 
-Shell (Display display, Shell parent, int style, int handle, bool embedded) {
+this (Display display, Shell parent, int style, int handle, bool embedded) {
     super ();
     checkSubclass ();
     if (display is null) display = Display.getCurrent ();
@@ -309,7 +309,7 @@
  *    <li>ERROR_INVALID_SUBCLASS - if this class is not an allowed subclass</li>
  * </ul>
  */
-public Shell (Shell parent) {
+public this (Shell parent) {
     this (parent, DWT.DIALOG_TRIM);
 }
 
@@ -360,7 +360,7 @@
  * @see DWT#APPLICATION_MODAL
  * @see DWT#SYSTEM_MODAL
  */
-public Shell (Shell parent, int style) {
+public this (Shell parent, int style) {
     this (parent !is null ? parent.display : null, parent, style, 0, false);
 }
 
--- a/dwt/widgets/Slider.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Slider.d	Wed Aug 27 14:02:31 2008 +0200
@@ -106,7 +106,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Slider (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Spinner.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Spinner.d	Wed Aug 27 14:02:31 2008 +0200
@@ -90,7 +90,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Spinner (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/Synchronizer.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Synchronizer.d	Wed Aug 27 14:02:31 2008 +0200
@@ -52,7 +52,7 @@
  * 
  * @param display the display to create the synchronizer on
  */
-public Synchronizer (Display display) {
+public this (Display display) {
     this.display = display;
 }
     
--- a/dwt/widgets/TabFolder.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TabFolder.d	Wed Aug 27 14:02:31 2008 +0200
@@ -85,7 +85,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TabFolder (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/TabItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TabItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -74,7 +74,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TabItem (TabFolder parent, int style) {
+public this (TabFolder parent, int style) {
     super (parent, style);
     this.parent = parent;
     parent.createItem (this, parent.getItemCount ());
@@ -112,7 +112,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TabItem (TabFolder parent, int style, int index) {
+public this (TabFolder parent, int style, int index) {
     super (parent, style);
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/Table.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Table.d	Wed Aug 27 14:02:31 2008 +0200
@@ -127,7 +127,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Table (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/TableColumn.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TableColumn.d	Wed Aug 27 14:02:31 2008 +0200
@@ -75,7 +75,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TableColumn (Table parent, int style) {
+public this (Table parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, parent.getColumnCount ());
@@ -115,7 +115,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TableColumn (Table parent, int style, int index) {
+public this (Table parent, int style, int index) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/TableItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TableItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -82,7 +82,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TableItem (Table parent, int style) {
+public this (Table parent, int style) {
     this (parent, style, checkNull (parent).getItemCount (), true);
 }
 
@@ -118,11 +118,11 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TableItem (Table parent, int style, int index) {
+public this (Table parent, int style, int index) {
     this (parent, style, index, true);
 }
 
-TableItem (Table parent, int style, int index, bool create) {
+this (Table parent, int style, int index, bool create) {
     super (parent, style);
     this.parent = parent;
     if (create) parent.createItem (this, index);
--- a/dwt/widgets/Text.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Text.d	Wed Aug 27 14:02:31 2008 +0200
@@ -122,7 +122,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Text (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
     if ((style & DWT.SEARCH) !is 0) {
 //      int inAttributesToSet = (style & DWT.CANCEL) !is 0 ? OS.kHISearchFieldAttributesCancel : 0;
--- a/dwt/widgets/ToolBar.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ToolBar.d	Wed Aug 27 14:02:31 2008 +0200
@@ -81,7 +81,7 @@
  * @see Widget#checkSubclass()
  * @see Widget#getStyle()
  */
-public ToolBar (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
     
     /*
--- a/dwt/widgets/ToolItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ToolItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -100,7 +100,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ToolItem (ToolBar parent, int style) {
+public this (ToolBar parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, parent.getItemCount ());
@@ -142,7 +142,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ToolItem (ToolBar parent, int style, int index) {
+public this (ToolBar parent, int style, int index) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/ToolTip.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/ToolTip.d	Wed Aug 27 14:02:31 2008 +0200
@@ -97,7 +97,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public ToolTip (Shell parent, int style) {
+public this (Shell parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     this.autohide = true;
--- a/dwt/widgets/Tracker.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Tracker.d	Wed Aug 27 14:02:31 2008 +0200
@@ -101,7 +101,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Tracker (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
 }
@@ -140,7 +140,7 @@
  * @see DWT#UP
  * @see DWT#DOWN
  */
-public Tracker (Display display, int style) {
+public this (Display display, int style) {
     if (display is null) display = Display.getCurrent ();
     if (display is null) display = Display.getDefault ();
     if (!display.isValidThread ()) {
--- a/dwt/widgets/Tray.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Tray.d	Wed Aug 27 14:02:31 2008 +0200
@@ -38,7 +38,7 @@
     int itemCount;
     TrayItem [] items = new TrayItem [4];
 
-Tray (Display display, int style) {
+this (Display display, int style) {
     if (display is null) display = Display.getCurrent ();
     if (display is null) display = Display.getDefault ();
     if (!display.isValidThread ()) {
--- a/dwt/widgets/TrayItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TrayItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -86,7 +86,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TrayItem (Tray parent, int style) {
+public this (Tray parent, int style) {
     super (parent, style);
     this.parent = parent;
     parent.createItem (this, parent.getItemCount ());
--- a/dwt/widgets/Tree.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Tree.d	Wed Aug 27 14:02:31 2008 +0200
@@ -131,7 +131,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public Tree (Composite parent, int style) {
+public this (Composite parent, int style) {
     super (parent, checkStyle (style));
 }
 
--- a/dwt/widgets/TreeColumn.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TreeColumn.d	Wed Aug 27 14:02:31 2008 +0200
@@ -76,7 +76,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeColumn (Tree parent, int style) {
+public this (Tree parent, int style) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, parent.getColumnCount ());
@@ -116,7 +116,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeColumn (Tree parent, int style, int index) {
+public this (Tree parent, int style, int index) {
     super (parent, checkStyle (style));
     this.parent = parent;
     parent.createItem (this, index);
--- a/dwt/widgets/TreeItem.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TreeItem.d	Wed Aug 27 14:02:31 2008 +0200
@@ -89,7 +89,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeItem (Tree parent, int style) {
+public this (Tree parent, int style) {
     this (checkNull (parent), null, style, -1, true);
 }
 
@@ -125,7 +125,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeItem (Tree parent, int style, int index) {
+public this (Tree parent, int style, int index) {
     this (checkNull (parent), null, style, checkIndex (index), true);
 }
 
@@ -159,7 +159,7 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeItem (TreeItem parentItem, int style) {
+public this (TreeItem parentItem, int style) {
     this (checkNull (parentItem).parent, parentItem, style, -1, true);
 }
 
@@ -195,11 +195,11 @@
  * @see Widget#checkSubclass
  * @see Widget#getStyle
  */
-public TreeItem (TreeItem parentItem, int style, int index) {
+public this (TreeItem parentItem, int style, int index) {
     this (checkNull (parentItem).parent, parentItem, style, checkIndex (index), true);
 }
 
-TreeItem (Tree parent, TreeItem parentItem, int style, int index, bool create) {
+this (Tree parent, TreeItem parentItem, int style, int index, bool create) {
     super (parent, style);
     this.parent = parent;
     this.parentItem = parentItem;
--- a/dwt/widgets/TypedListener.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/TypedListener.d	Wed Aug 27 14:02:31 2008 +0200
@@ -86,7 +86,7 @@
  *
  * @param listener the event listener to store in the receiver
  */
-public TypedListener (DWTEventListener listener) {
+public this (DWTEventListener listener) {
     eventListener = listener;
 }
 
--- a/dwt/widgets/Widget.d	Wed Aug 27 13:51:50 2008 +0200
+++ b/dwt/widgets/Widget.d	Wed Aug 27 14:02:31 2008 +0200
@@ -94,7 +94,7 @@
     static final int DEFAULT_WIDTH  = 64;
     static final int DEFAULT_HEIGHT = 64;
 
-Widget () {
+this () {
     /* Do nothing */
 }
 
@@ -127,7 +127,7 @@
  * @see #checkSubclass
  * @see #getStyle
  */
-public Widget (Widget parent, int style) {
+public this (Widget parent, int style) {
     checkSubclass ();
     checkParent (parent);
     this.style = style;