X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1bab566475b6573c1c0c982eec395c6d8eef13a..e70b4f10951f806a7b6cf7e65317a21421e2f3a6:/src/os2/thread.cpp diff --git a/src/os2/thread.cpp b/src/os2/thread.cpp index eefb6d5f15..f9fe2f123f 100644 --- a/src/os2/thread.cpp +++ b/src/os2/thread.cpp @@ -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()