do
{
YieldToAnyThread();
- } while( clock() - start < (milliseconds * CLOCKS_PER_SEC) / 1000 ) ;
+ } while( clock() - start < milliseconds / 1000.0 * CLOCKS_PER_SEC ) ;
}
int wxThread::GetCPUCount()
#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 ;
}