]> git.saurik.com Git - wxWidgets.git/commitdiff
Added wxUSE_WAVE to setup0.h and checked for it in wave.h
authorRobin Dunn <robin@alldunn.com>
Sat, 14 Jul 2001 03:25:40 +0000 (03:25 +0000)
committerRobin Dunn <robin@alldunn.com>
Sat, 14 Jul 2001 03:25:40 +0000 (03:25 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/setup0.h
include/wx/msw/wave.h

index 4e8e6215fd7dec7bb65bc8b11025edc9372e47d8..821cfbf9554d56416a7a37786edfb1b961dfd009 100644 (file)
 // contribute us a makefile for src/regex for it
 #define wxUSE_REGEX       0
 
+// wxWave class
+#define wxUSE_WAVE      1
+
 // ----------------------------------------------------------------------------
 // Individual GUI controls
 // ----------------------------------------------------------------------------
index d95560bc6fee73f740bede77cd1d0527cbe2e680..12807e7e20016bfda8eb30e69314dd4e918f0608 100644 (file)
@@ -16,6 +16,8 @@
 #pragma interface "wave.h"
 #endif
 
+#if wxUSE_WAVE
+
 #include "wx/object.h"
 
 class WXDLLEXPORT wxWave : public wxObject
@@ -43,6 +45,6 @@ private:
   int   m_waveLength;
   bool  m_isResource;
 };
-
+#endif
 #endif