X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7e0e5fe1e45d09f42da48bc9b70231f0471f2ec2..920b9675d9e4ae7f721bd6eeb85c184a74434f7b:/src/mac/thread.cpp diff --git a/src/mac/thread.cpp b/src/mac/thread.cpp index 3e4b1dfc49..fa6f0e8e74 100644 --- a/src/mac/thread.cpp +++ b/src/mac/thread.cpp @@ -433,6 +433,8 @@ bool wxThreadInternal::Create(wxThread *thread, unsigned int stackSize) SetPriority(m_priority); } + m_state = STATE_NEW; + return TRUE; } @@ -852,7 +854,7 @@ bool wxThreadModule::OnInit() #endif if ( !hasThreadManager ) { - wxMessageBox( "Error" , "Thread Support is not available on this System" , wxOK ) ; + wxMessageBox( wxT("Error") , wxT("Thread Support is not available on this System") , wxOK ) ; return FALSE ; }