diff dwtx/jface/text/AbstractReusableInformationControlCreator.d @ 138:b6bad70d540a

Regex instanceof changes
author Frank Benoit <benoit@tionex.de>
date Sun, 24 Aug 2008 02:26:23 +0200
parents 51e6e63f930e
children 02cd5f1224d3
line wrap: on
line diff
--- a/dwtx/jface/text/AbstractReusableInformationControlCreator.d	Sun Aug 24 02:22:48 2008 +0200
+++ b/dwtx/jface/text/AbstractReusableInformationControlCreator.d	Sun Aug 24 02:26:23 2008 +0200
@@ -202,7 +202,7 @@
         Composite parent= null;
         if (e.widget instanceof Shell)
             parent= (cast(Shell)e.widget).getParent();
-        if (parent instanceof Shell)
+        if ( cast(Shell)parent )
             fInformationControls.remove(parent);
     }