Mercurial > projects > dwt2
diff org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Transfer.d @ 22:4642ab680468
some work on dwt-win for tango/phobos
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Fri, 20 Mar 2009 12:52:28 +0100 |
parents | 52184e4b815c |
children | d46287db17ed |
line wrap: on
line diff
--- a/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Transfer.d Thu Mar 19 20:38:55 2009 +0100 +++ b/org.eclipse.swt.win32.win32.x86/src/org/eclipse/swt/dnd/Transfer.d Fri Mar 20 12:52:28 2009 +0100 @@ -48,13 +48,13 @@ */ int getData(IDataObject dataObject, FORMATETC* pFormatetc, STGMEDIUM* pmedium) { if (dataObject.GetData(pFormatetc, pmedium) is COM.S_OK) return COM.S_OK; - try {tango.core.Thread.Thread.sleep(50);} catch (Exception t) {} + try {Thread.sleep(50);} catch (Exception t) {} int result = dataObject.GetData(pFormatetc, pmedium); int retryCount = 0; while (result !is COM.S_OK && retryCount++ < RETRY_LIMIT) { MSG msg; OS.PeekMessage(&msg, null, 0, 0, OS.PM_NOREMOVE | OS.PM_NOYIELD); - try {tango.core.Thread.Thread.sleep(50);} catch (Exception t) {} + try {Thread.sleep(50);} catch (Exception t) {} result = dataObject.GetData(pFormatetc, pmedium); } return result;