]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
MingW32 compilation works now.
[wxWidgets.git] / src / unix / threadpsx.cpp
index aad7082be4d7ab0aa5f6342a5b2c28d388b977b8..a6f79d8db1ca920b157e2feb86a430ac7bf6e685 100644 (file)
@@ -668,6 +668,9 @@ wxThreadError wxThread::Resume()
 
 wxThread::ExitCode wxThread::Delete()
 {
+    if (IsPaused())
+      Resume();
+
     m_critsect.Enter();
     wxThreadState state = p_internal->GetState();