removed some stray MSW code
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21807 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user