]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/thread.cpp
Adding GetPartialTextExtents implementation.
[wxWidgets.git] / src / mac / carbon / thread.cpp
index 010a4c5cffa0b5a2a6cca461b0ee66b9cb34f7a1..0915d13a234b049b79d78af5ce25ce96af9f4c86 100644 (file)
@@ -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() ;