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