Mercurial > projects > dwt-win
diff dwt/internal/DWTEventObject.d @ 310:d650eede28b3
Fix remaining porting type
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 15 Sep 2008 03:41:14 +0200 |
parents | ab60f3309436 |
children |
line wrap: on
line diff
--- a/dwt/internal/DWTEventObject.d Mon Sep 15 03:40:57 2008 +0200 +++ b/dwt/internal/DWTEventObject.d Mon Sep 15 03:41:14 2008 +0200 @@ -17,29 +17,6 @@ import tango.core.Exception; import dwt.dwthelper.utils; -/+ -///PORTING_TYPE -class EventObject : EventObject { - protected Object source; - - public this(Object source) { - if (source is null) - throw new IllegalArgumentException( "null arg" ); - this.source = source; - } - - public Object getSource() { - return source; - } - - public override String toString() { - return this.classinfo.name ~ "[source=" ~ source.toString() ~ "]"; - } -} - -+/ - - /** * This class is the cross-platform version of the * java.util.EventObject class.