Call wxThread::OnExit() from wxThread::Exit() in wxMSW too.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Apr 2012 22:37:34 +0000 (22:37 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 14 Apr 2012 22:37:34 +0000 (22:37 +0000)
commit66180c31f65d96c00c6f361674688a95166010a9
tree89a499a4b402e45d3cc0feef5df986d480830b2d
parent4b666be65941bb7a53c3af561a0fee907e83d6ee
Call wxThread::OnExit() from wxThread::Exit() in wxMSW too.

Exit() is documented to call OnExit() and the pthreads version of wxThread did
behave as documented, so make wxMSW follow it as well and explicitly call
OnExit() before exiting the thread.

Closes #14212.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71197 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/thread.cpp