Mercurial > projects > dwt-mac
diff dwt/events/TypedEvent.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 | 5123b17c98ef |
line wrap: on
line diff
--- a/dwt/events/TypedEvent.d Wed Aug 27 13:51:50 2008 +0200 +++ b/dwt/events/TypedEvent.d Wed Aug 27 14:02:31 2008 +0200 @@ -60,7 +60,7 @@ * * @param object the object that fired the event */ -public TypedEvent(Object object) { +public this(Object object) { super(object); } @@ -70,7 +70,7 @@ * * @param e the low level event to initialize the receiver with */ -public TypedEvent(Event e) { +public this(Event e) { super(e.widget); this.display = e.display; this.widget = e.widget;