]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/thread.cpp
updating positioning after embedding is set correctly
[wxWidgets.git] / src / mac / carbon / thread.cpp
index 010a4c5cffa0b5a2a6cca461b0ee66b9cb34f7a1..3700a9a375845a004f49ae571596eb86d267e22c 100644 (file)
@@ -1171,7 +1171,7 @@ void wxThreadInternal::Wait()
                                 kDurationForever);
             if ( err)
             {
-                wxLogSysError( _( "Cannot wait on thread to exit."));
+                wxLogSysError( _( "Cannot wait for thread termination."));
                 rc = (void*) -1;
             }
 
@@ -1638,7 +1638,7 @@ bool wxThreadModule::OnInit()
        
        verify_noerr( MPAllocateTaskStorageIndex( &gs_tlsForWXThread ) ) ;
        // main thread's This() is NULL
-       verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , NULL ) ) ;
+       verify_noerr( MPSetTaskStorageValue( gs_tlsForWXThread , 0 ) ) ;
 
        gs_idMainThread = wxThread::GetCurrentId() ;