]> git.saurik.com Git - wxWidgets.git/commitdiff
compilation fix...
authorVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jul 2003 19:19:06 +0000 (19:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Wed, 23 Jul 2003 19:19:06 +0000 (19:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@22261 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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