]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/threadpsx.cpp
using CLSCTX_ALL fails with Microsoft Office applications, correct the last change...
[wxWidgets.git] / src / unix / threadpsx.cpp
index 99f497e9f8243a0b7fb38e5167423da4b68c531f..692be7d169bc96e1179749c0fc86f7b9268fd0fe 100644 (file)
     #define THR_ID(thr) ((long)(thr)->GetId())
 #endif
 
-#ifdef __WXMAC__
-
-    // implement wxCriticalSection using mutexes
-wxCriticalSection::wxCriticalSection( wxCriticalSectionType critSecType )
-       : m_mutex( critSecType == wxCRITSEC_DEFAULT ? wxMUTEX_RECURSIVE : wxMUTEX_DEFAULT )  { }
-wxCriticalSection::~wxCriticalSection() { }
-
-void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }
-void wxCriticalSection::Leave() { (void)m_mutex.Unlock(); }
-
-#endif
 // ----------------------------------------------------------------------------
 // constants
 // ----------------------------------------------------------------------------