Mercurial > projects > dwt-mac
diff dwt/graphics/GC.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 | e831403a80a9 |
line wrap: on
line diff
--- 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);