X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1dfc3cda6eb139a87773646aacde950c9c45126a..7db33cc31068fcbc0444a3b93829833662fb977a:/src/mac/thread.cpp diff --git a/src/mac/thread.cpp b/src/mac/thread.cpp index fa6f0e8e74..8c64c8818a 100644 --- a/src/mac/thread.cpp +++ b/src/mac/thread.cpp @@ -716,13 +716,6 @@ wxThreadError wxThread::Delete(ExitCode *pRc) } } - // if ( !::GetExitCodeThread(hThread, (LPDWORD)&rc) ) - { - wxLogLastError("GetExitCodeThread"); - - rc = (ExitCode)-1; - } - if ( IsDetached() ) { // if the thread exits normally, this is done in WinThreadStart, but in @@ -732,9 +725,6 @@ wxThreadError wxThread::Delete(ExitCode *pRc) delete this; } - // wxASSERT_MSG( (DWORD)rc != STILL_ACTIVE, - // wxT("thread must be already terminated.") ); - if ( pRc ) *pRc = rc;