]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wave.cpp
Clean up memory if have to exit early
[wxWidgets.git] / src / msw / wave.cpp
index 4016b5dce912657a606b2f8c338d8afab7edca1c..52e5ebfe56b7664dff3b1d35e1981cac6202b566 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_WAVE
+
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
@@ -165,4 +167,4 @@ bool wxWave::Free()
   return FALSE;
 }
 
-
+#endif // wxUSE_WAVE