]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/gtk1/wave.h
Fix some compilation and linking errors in samples.
[wxWidgets.git] / include / wx / gtk1 / wave.h
index 14bdf11293cfd0f2c3d82c6de0daa20dc714b013..92d678dab4b902397f3abeba807889e610288827 100644 (file)
 #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
+