From 6cd4655bee404d94e1f0eb4d880e24668c842dfd Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Mon, 24 Jun 2002 15:19:40 +0000 Subject: [PATCH] old mingw32 compilation fix git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15939 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/msw/thread.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index e839cba462..27ab616999 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -79,6 +79,11 @@ #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() ) -- 2.45.2