X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/57c208c5759da71a637f0f0f5b7d3dc3eda09c02..60c0a8dbf449725ab81a0b26ca2538625c81c359:/include/wx/gtk1/wave.h diff --git a/include/wx/gtk1/wave.h b/include/wx/gtk1/wave.h index 14bdf11293..89ce444943 100644 --- a/include/wx/gtk1/wave.h +++ b/include/wx/gtk1/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 +