]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
include compile support for tests on OpenVMS (part3)
[wxWidgets.git] / src / unix / threadpsx.cpp
index e818385c668b6b858aa47dd2b29a36b8175e78d4..ebb365b0d094d83b6d1df7d68fd147940f691a21 100644 (file)
@@ -1453,6 +1453,8 @@ wxThreadError wxThread::Delete(ExitCode *rc)
 
     m_critsect.Leave();
 
+    OnDelete();
+
     switch ( state )
     {
         case STATE_NEW:
@@ -1501,6 +1503,8 @@ wxThreadError wxThread::Kill()
     wxCHECK_MSG( This() != this, wxTHREAD_MISC_ERROR,
                  wxT("a thread can't kill itself") );
 
+    OnKill();
+
     switch ( m_internal->GetState() )
     {
         case STATE_NEW: