TestDestroy() is not const any more (warnings suppressed)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@1451 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1999-01-22 18:35:42 +00:00
parent 9390a202a8
commit 8c10faf1bd
4 changed files with 4 additions and 4 deletions

View File

@ -312,7 +312,7 @@ protected:
// Returns TRUE if the thread was asked to terminate: this function should
// be called by the thread from time to time, otherwise the main thread
// will be left forever in Delete()!
bool TestDestroy() const;
bool TestDestroy();
// exits from the current thread - can be called only from this thread
void Exit(void *exitcode = 0);

View File

@ -634,7 +634,7 @@ void wxThread::Exit(void *status)
}
// also test whether we were paused
bool wxThread::TestDestroy() const
bool wxThread::TestDestroy()
{
wxCriticalSectionLocker lock((wxCriticalSection&)m_critsect);

View File

@ -634,7 +634,7 @@ void wxThread::Exit(void *status)
}
// also test whether we were paused
bool wxThread::TestDestroy() const
bool wxThread::TestDestroy()
{
wxCriticalSectionLocker lock((wxCriticalSection&)m_critsect);

View File

@ -660,7 +660,7 @@ bool wxThread::IsAlive() const
(p_internal->GetState() == STATE_PAUSED);
}
bool wxThread::TestDestroy() const
bool wxThread::TestDestroy()
{
wxCriticalSectionLocker lock((wxCriticalSection &)m_critsect);