Mercurial > projects > dwt-mac
diff dwt/custom/ScrolledComposite.d @ 7:e831403a80a9
Add 'cast' to casts
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Wed, 27 Aug 2008 14:30:35 +0200 |
parents | 1a8b3cb347e0 |
children | a9ab4c738ed8 |
line wrap: on
line diff
--- a/dwt/custom/ScrolledComposite.d Wed Aug 27 14:10:03 2008 +0200 +++ b/dwt/custom/ScrolledComposite.d Wed Aug 27 14:30:35 2008 +0200 @@ -171,7 +171,7 @@ filter = new Listener() { public void handleEvent(Event event) { if (event.widget instanceof Control) { - Control control = (Control) event.widget; + Control control = cast(Control) event.widget; if (contains(control)) showControl(control); } }