$NetBSD: patch-aa,v 1.2 2001/08/02 17:45:32 drochner Exp $

--- WaveTrack.cpp.orig	Sun Jul 29 03:17:54 2001
+++ WaveTrack.cpp	Mon Jul 30 13:33:15 2001
@@ -898,7 +898,9 @@
          numSamples = 0;
          block->Clear();
 
+#if wxUSE_THREADS
          blockMutex->Unlock();
+#endif
 
          wxString msg;
          msg.Printf("The file named \"%s\" is missing from the project.",
@@ -911,7 +913,9 @@
       block->Add(w);
    }
 
+#if wxUSE_THREADS
    blockMutex->Unlock();
+#endif
 
    return true;
 
