From 17b439e88a4ae9f82003ac8b4e2b5fb92444a3de Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Mon, 24 Jun 2002 22:35:40 +0000 Subject: [PATCH] added QS_ALLPOSTMESSAGE git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15950 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/missing.h | 10 ++++++++++ src/msw/thread.cpp | 6 +----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/include/wx/msw/missing.h b/include/wx/msw/missing.h index 305910fa64..66acdfc7e2 100644 --- a/include/wx/msw/missing.h +++ b/include/wx/msw/missing.h @@ -180,5 +180,15 @@ struct HH_AKLINK BOOL fIndexOnFail; }; + +// ---------------------------------------------------------------------------- +// Misc stuff +// ---------------------------------------------------------------------------- + +#ifndef QS_ALLPOSTMESSAGE + #define QS_ALLPOSTMESSAGE 0x0100 +#endif + + #endif // _WX_MISSING_H_ diff --git a/src/msw/thread.cpp b/src/msw/thread.cpp index 27ab616999..d93d017704 100644 --- a/src/msw/thread.cpp +++ b/src/msw/thread.cpp @@ -32,6 +32,7 @@ #if wxUSE_THREADS #include "wx/msw/private.h" +#include "wx/msw/missing.h" #include "wx/module.h" #include "wx/thread.h" @@ -79,11 +80,6 @@ #define THREAD_CALLCONV WINAPI #endif -// the old mingw32 headers don't have this one -#ifndef QS_ALLPOSTMESSAGE - #define QS_ALLPOSTMESSAGE 0x0100 -#endif - // ---------------------------------------------------------------------------- // constants // ---------------------------------------------------------------------------- -- 2.47.2