Mercurial > projects > dwt-mac
diff dwt/graphics/Region.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/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; }