X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..4c3ebca927cea2742ec128c9c3ef3676d1ecae01:/include/wx/gtk1/wave.h diff --git a/include/wx/gtk1/wave.h b/include/wx/gtk1/wave.h index 14bdf11293..92d678dab4 100644 --- a/include/wx/gtk1/wave.h +++ b/include/wx/gtk1/wave.h @@ -12,7 +12,11 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ +#include "wx/defs.h" + +#if wxUSE_WAVE + +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wave.h" #endif @@ -57,3 +61,5 @@ private: #endif +#endif +