diff --git a/include/wx/msw/setup0.h b/include/wx/msw/setup0.h index 4e8e6215fd..821cfbf955 100644 --- a/include/wx/msw/setup0.h +++ b/include/wx/msw/setup0.h @@ -396,6 +396,9 @@ // contribute us a makefile for src/regex for it #define wxUSE_REGEX 0 +// wxWave class +#define wxUSE_WAVE 1 + // ---------------------------------------------------------------------------- // Individual GUI controls // ---------------------------------------------------------------------------- diff --git a/include/wx/msw/wave.h b/include/wx/msw/wave.h index d95560bc6f..12807e7e20 100644 --- a/include/wx/msw/wave.h +++ b/include/wx/msw/wave.h @@ -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