]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/thread.cpp
unicode adaptions, menu support
[wxWidgets.git] / src / os2 / thread.cpp
index eefb6d5f15bcb05a8d1111c7bd4056aa75158013..f9fe2f123f5c769eb94f0d88140b42e64301e6fd 100644 (file)
@@ -527,6 +527,8 @@ bool wxThreadInternal::Resume()
 // static functions
 // ----------------
 
+bool WXDLLEXPORT wxGuiOwnedByMainThread();
+
 wxThread *wxThread::This()
 {
     wxThread*                       pThread = m_pThread;
@@ -939,11 +941,13 @@ void wxThreadModule::OnExit()
 // wake up the main thread if it's in ::GetMessage()
 void WXDLLEXPORT wxWakeUpMainThread()
 {
+#if 0
     if ( !::WinPostQueueMsg(wxTheApp->m_hMq, WM_NULL, 0, 0) )
     {
         // should never happen
         wxLogLastError(wxT("WinPostMessage(WM_NULL)"));
     }
+#endif
 }
 
 void WXDLLEXPORT wxMutexGuiEnter()