]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/mpthread.cpp
otherwise we always fall back to blitting, even if we can provide better results
[wxWidgets.git] / src / mac / carbon / mpthread.cpp
index 4319309bfe8cd3ee111872d0b359e805c63a219f..bb8a833ce40f7c80dbd8d9fe195b0bcbff5adb62 100755 (executable)
@@ -7,10 +7,10 @@
 // RCS-ID:     $Id$
 // Copyright:  (c) Wolfram Gloger (1996, 1997); Guilhem Lavaux (1998),
 //                 Vadim Zeitlin (1999) , Stefan Csomor (2000)
-// Licence:    wxWidgets licence
+// Licence:    wxWindows licence
 /////////////////////////////////////////////////////////////////////////////
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
 #pragma implementation "thread.h"
 #endif
 
@@ -40,7 +40,7 @@
 #else
 #include <DriverServices.h>
 #include <Multiprocessing.h>
-#include <math.h>
+#include "wx/math.h"
 #endif
 #include "wx/mac/uma.h"
 #endif
@@ -974,7 +974,7 @@ void wxThreadInternal::Wait()
                                 kDurationForever);
             if ( err)
             {
-                wxLogSysError( _( "Cannot wait on thread to exit."));
+                wxLogSysError( _( "Cannot wait for thread termination."));
                 rc = (void*) -1;
             }