From 0eb949e11fc9ef4aa72c072ba9d1025ed08ce199 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 5 Sep 2008 08:21:08 +0000 Subject: [PATCH] Compilo for wxMac git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@55467 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/unix/threadpsx.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/unix/threadpsx.cpp b/src/unix/threadpsx.cpp index 2274d96da2..a133ba9fa0 100644 --- a/src/unix/threadpsx.cpp +++ b/src/unix/threadpsx.cpp @@ -70,7 +70,8 @@ #ifdef __WXMAC__ // implement wxCriticalSection using mutexes -wxCriticalSection::wxCriticalSection() { } +wxCriticalSection::wxCriticalSection( wxCriticalSectionType critSecType ) + : m_mutex( critSecType == wxCRITSEC_DEFAULT ? wxMUTEX_RECURSIVE : wxMUTEX_DEFAULT ) { } wxCriticalSection::~wxCriticalSection() { } void wxCriticalSection::Enter() { (void)m_mutex.Lock(); }