]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/thread.cpp
Hopefully fixed library names generated by wx-config for OS/2's PM port.
[wxWidgets.git] / src / msw / thread.cpp
index 24aa2a43fd9149bb199255bc63af4e29602829a8..615451a3f5fdc3672a41775927999f344aed79fa 100644 (file)
@@ -705,14 +705,17 @@ wxThreadInternal::WaitForTerminate(wxCriticalSection& cs,
             }
         }
 
+#if !defined(QS_ALLPOSTMESSAGE)
+#define QS_ALLPOSTMESSAGE 0
+#endif
+
         result = ::MsgWaitForMultipleObjects
                  (
                    1,              // number of objects to wait for
                    &m_hThread,     // the objects
                    false,          // don't wait for all objects
                    INFINITE,       // no timeout
-                   QS_ALLINPUT |   // return as soon as there are any events
-                   QS_ALLPOSTMESSAGE
+                   QS_ALLINPUT|QS_ALLPOSTMESSAGE   // return as soon as there are any events
                  );
 
         switch ( result )