]> git.saurik.com Git - wxWidgets.git/blobdiff - src/osx/carbon/thread.cpp
replace more __WXDEBUG__ occurrences with wxDEBUG_LEVEL
[wxWidgets.git] / src / osx / carbon / thread.cpp
index 0aa6d3939ccd18c3307ab91c4c7fbd77656e073c..f4bfdac1737aaaa185ab4aee5744fc97c135c4e0 100644 (file)
@@ -848,7 +848,6 @@ wxThread::~wxThread()
 
     g_numberOfThreads--;
 
-#ifdef __WXDEBUG__
     m_critsect.Enter();
 
     // check that the thread either exited or couldn't be created
@@ -861,7 +860,6 @@ wxThread::~wxThread()
     }
 
     m_critsect.Leave();
-#endif
 
     wxDELETE( m_internal ) ;
 }