fixed bug in wxThread::Wait() in console applications introduced in 2.8.3 (bug 1690777)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45114 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -98,6 +98,7 @@ wxMSW:
|
||||
- Don't lose combobox text when it's opened and closed (Kolya Kosenko)
|
||||
- Corrected GetChecked() for events from checkable menu items (smanders)
|
||||
- Fixed popup menus under Windows NT 4
|
||||
- Fixed bug in wxThread::Wait() in console applications introduced in 2.8.3
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
@@ -771,7 +771,7 @@ wxThreadInternal::WaitForTerminate(wxCriticalSection& cs,
|
||||
// loop to process them as otherwise we'd enter an infinite loop
|
||||
// with MsgWaitForMultipleObjects() always returning WAIT_OBJECT_0
|
||||
// + 1 because the message would remain forever in the queue
|
||||
result = ::WaitForSingleObject(&m_hThread, INFINITE);
|
||||
result = ::WaitForSingleObject(m_hThread, INFINITE);
|
||||
}
|
||||
else // wait for thread termination without blocking the GUI
|
||||
{
|
||||
|
Reference in New Issue
Block a user