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 // ----------------------------------------------------------------------------