]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
ported rest of contrib to bakefile
[wxWidgets.git] / src / msw / thread.cpp
index 52b3291077bf2929fb26c86cacd16103a999c60b..46719dc9c2f35d8f2d0f00006d3ddf2d2ea53fe8 100644 (file)
@@ -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