]> git.saurik.com Git - wxWidgets.git/commitdiff
old mingw32 compilation fix
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 24 Jun 2002 15:19:40 +0000 (15:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 24 Jun 2002 15:19:40 +0000 (15:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/thread.cpp

index e839cba462fd5852529f22c00c6afdfda2e83ffe..27ab6169991fb67d815ed6c156ec275dd0af439e 100644 (file)
     #define THREAD_CALLCONV WINAPI
 #endif
 
+// the old mingw32 headers don't have this one
+#ifndef QS_ALLPOSTMESSAGE
+    #define QS_ALLPOSTMESSAGE 0x0100
+#endif
+
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------
@@ -985,7 +990,7 @@ wxThreadError wxThread::Delete(ExitCode *pRc)
         // we can't just wait for the thread to terminate because it might be
         // calling some GUI functions and so it will never terminate before we
         // process the Windows messages that result from these functions
-        DWORD result;
+        DWORD result = 0;       // suppress warnings from broken compilers
         do
         {
             if ( IsMain() )