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
This commit is contained in:
Robin Dunn 2001-07-14 03:25:40 +00:00
parent b342f8f0a6
commit ea37d8580d
2 changed files with 6 additions and 1 deletions

View File

@ -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
// ----------------------------------------------------------------------------

View 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