Put wxGTK's threads back to life.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@2538 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
1999-05-22 08:01:17 +00:00
parent 286cb97fcf
commit 7b90a8f20d
9 changed files with 98 additions and 40 deletions

View File

@@ -130,10 +130,14 @@ void MyThread::WriteText(const wxString& text)
// before doing any GUI calls we must ensure that this thread is the only
// one doing it!
wxMutexGuiLocker guiLocker;
wxMutexGuiEnter();
msg << wxTime().FormatTime() << ": " << text;
m_frame->WriteText(msg);
wxMutexGuiLeave();
}
void MyThread::OnExit()