From: Robin Dunn Date: Sat, 14 Jul 2001 03:25:40 +0000 (+0000) Subject: Added wxUSE_WAVE to setup0.h and checked for it in wave.h X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/ea37d8580d3a12e2df5e1ac8f0e00c1a8ec979fd?ds=inline Added wxUSE_WAVE to setup0.h and checked for it in wave.h git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11035 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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