$NetBSD: patch-aa,v 1.1.1.1 2001/06/17 19:13:52 drochner Exp $ --- WaveTrack.cpp.orig Fri Jun 15 13:36:03 2001 +++ WaveTrack.cpp Fri Jun 15 13:37:40 2001 @@ -848,7 +848,9 @@ numSamples = 0; block->Clear(); - blockMutex->Unlock(); +#if wxUSE_THREADS + blockMutex->Unlock(); +#endif wxString msg; msg.Printf("The file named \"%s\" is missing from the project.", @@ -861,8 +863,10 @@ block->Add(w); } +#if wxUSE_THREADS blockMutex->Unlock(); - +#endif + return true; readWaveTrackError: