]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/wave.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / msw / wave.h
index d95560bc6fee73f740bede77cd1d0527cbe2e680..cd025e863a6480e38f955cf2d7f93e6798adce95 100644 (file)
@@ -16,6 +16,8 @@
 #pragma interface "wave.h"
 #endif
 
+#if wxUSE_WAVE
+
 #include "wx/object.h"
 
 class WXDLLEXPORT wxWave : public wxObject
@@ -42,7 +44,9 @@ private:
   wxByte* m_waveData;
   int   m_waveLength;
   bool  m_isResource;
-};
 
+    DECLARE_NO_COPY_CLASS(wxWave)
+};
+#endif
 #endif