diff dwt/widgets/Widget.d @ 5:1a8b3cb347e0

Fix Ctors to 'this'
author Frank Benoit <benoit@tionex.de>
date Wed, 27 Aug 2008 14:02:31 +0200
parents 380af2bdd8e5
children e831403a80a9
line wrap: on
line diff
--- 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;