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

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