Mercurial > projects > dwt-mac
diff dwt/widgets/ExpandItem.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/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);