}
#ifdef Yield
-#undef Yield
+ #undef Yield
#endif
void wxThread::Yield()
(p_internal->GetState() == STATE_PAUSED);
}
+bool wxThread::IsPaused() const
+{
+ wxCriticalSectionLocker lock((wxCriticalSection &)m_critsect);
+
+ return (p_internal->GetState() == STATE_PAUSED);
+}
+
bool wxThread::TestDestroy()
{
wxCriticalSectionLocker lock((wxCriticalSection &)m_critsect);