]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
[wxWidgets.git] / src / unix / threadpsx.cpp
index db3063e48e359dee1f9c9eb18863ded1c15cc211..9e8e6d1165e3c014db94f4711a112d19f53c7da8 100644 (file)
@@ -1624,7 +1624,6 @@ bool wxThread::TestDestroy()
 
 wxThread::~wxThread()
 {
-#ifdef __WXDEBUG__
     m_critsect.Enter();
 
     // check that the thread either exited or couldn't be created
@@ -1636,7 +1635,6 @@ wxThread::~wxThread()
     }
 
     m_critsect.Leave();
-#endif // __WXDEBUG__
 
     delete m_internal;