]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wave.cpp
added test for writing empty value to the config
[wxWidgets.git] / src / msw / wave.cpp
index 675d15c9aeb6b96afbd757dd69de5e433dcc4084..52e5ebfe56b7664dff3b1d35e1981cac6202b566 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
+#if wxUSE_WAVE
+
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
@@ -31,7 +33,7 @@
 #include <windows.h>
 #include <windowsx.h>
 
-#ifdef __GNUWIN32_OLD__
+#if defined(__GNUWIN32_OLD__) && !defined(__CYGWIN10__)
     #include "wx/msw/gnuwin32/extra.h"
 #else
     #include <mmsystem.h>
@@ -165,4 +167,4 @@ bool wxWave::Free()
   return FALSE;
 }
 
-
+#endif // wxUSE_WAVE