]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/wave.h
fixes to previous commit
[wxWidgets.git] / include / wx / gtk1 / wave.h
index 14bdf11293cfd0f2c3d82c6de0daa20dc714b013..89ce44494342bc4df6e212f403767eff2c20d810 100644 (file)
@@ -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
+