undid patch which was supposed to allow thread recreation
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@20553 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -659,8 +659,6 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize)
|
|||||||
SetPriority(m_priority);
|
SetPriority(m_priority);
|
||||||
}
|
}
|
||||||
|
|
||||||
m_state = STATE_NEW;
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -1168,8 +1168,6 @@ wxThreadError wxThread::Create(unsigned int WXUNUSED(stackSize))
|
|||||||
return wxTHREAD_NO_RESOURCE;
|
return wxTHREAD_NO_RESOURCE;
|
||||||
}
|
}
|
||||||
|
|
||||||
m_internal->SetState(STATE_NEW);
|
|
||||||
|
|
||||||
return wxTHREAD_NO_ERROR;
|
return wxTHREAD_NO_ERROR;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user