compilation fix...
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -826,7 +826,7 @@ wxThreadInternal::WaitForTerminate(bool shouldCancel,
|
|||||||
// in a secondary thread because if it had created some
|
// in a secondary thread because if it had created some
|
||||||
// window somehow (possible not even using wxWindows)
|
// window somehow (possible not even using wxWindows)
|
||||||
// the system might dead lock then
|
// the system might dead lock then
|
||||||
if ( IsMain() )
|
if ( wxThread::IsMain() )
|
||||||
{
|
{
|
||||||
// it looks that sometimes WAIT_OBJECT_0 + 1 is
|
// it looks that sometimes WAIT_OBJECT_0 + 1 is
|
||||||
// returned but there are no messages in the thread
|
// returned but there are no messages in the thread
|
||||||
|
Reference in New Issue
Block a user