]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/wave.cpp
don't write the strings to the stream one char at a time, it's *horribly* slow
[wxWidgets.git] / src / msw / wave.cpp
index 675d15c9aeb6b96afbd757dd69de5e433dcc4084..52e5ebfe56b7664dff3b1d35e1981cac6202b566 100644 (file)
@@ -20,6 +20,8 @@
 #pragma hdrstop
 #endif
 
 #pragma hdrstop
 #endif
 
+#if wxUSE_WAVE
+
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
 #ifndef WX_PRECOMP
 #include "wx/wx.h"
 #endif
@@ -31,7 +33,7 @@
 #include <windows.h>
 #include <windowsx.h>
 
 #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>
     #include "wx/msw/gnuwin32/extra.h"
 #else
     #include <mmsystem.h>
@@ -165,4 +167,4 @@ bool wxWave::Free()
   return FALSE;
 }
 
   return FALSE;
 }
 
-
+#endif // wxUSE_WAVE