diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/Accessible.d @ 19:52184e4b815c

no more direct tango.core.Thread. Rename JThread to java.lang.Thread.
author Frank Benoit <benoit@tionex.de>
date Wed, 18 Mar 2009 10:55:25 +0100
parents 43904fec5dca
children b98647bc0aef
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/Accessible.d	Wed Mar 18 09:57:53 2009 +0100
+++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/accessibility/Accessible.d	Wed Mar 18 10:55:25 2009 +0100
@@ -38,7 +38,7 @@
 
 import java.lang.all;
 import java.util.Vector;
-import tango.core.Thread;
+import java.lang.Thread;
 
 /**
  * Instances of this class provide a bridge between application
@@ -1393,7 +1393,7 @@
 
     /* isValidThread was copied from Widget, and rewritten to work in this package */
     WINBOOL isValidThread () {
-        return control.getDisplay ().getThread () is Thread.getThis ();
+        return control.getDisplay ().getThread () is Thread.currentThread ();
     }
 }