X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..6ba7c06eeeda47b88783025428ca0f290e3bf236:/include/wx/gtk/wave.h diff --git a/include/wx/gtk/wave.h b/include/wx/gtk/wave.h index 14bdf11293..89ce444943 100644 --- a/include/wx/gtk/wave.h +++ b/include/wx/gtk/wave.h @@ -12,7 +12,9 @@ #ifndef _WX_WAVE_H_ #define _WX_WAVE_H_ -#ifdef __GNUG__ +#if wxUSE_WAVE + +#if defined(__GNUG__) && !defined(__APPLE__) #pragma interface "wave.h" #endif @@ -57,3 +59,5 @@ private: #endif +#endif +