]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/wave.h
disable use of #pragma interface under Mac OS X
[wxWidgets.git] / include / wx / mac / wave.h
index 0f30137a644d0068b2f1ca06bc68db790161d1fe..c203db629f69dcd7b9df10b07b3ac3debda64237 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef _WX_WAVE_H_
 #define _WX_WAVE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "wave.h"
 #endif
 
@@ -33,7 +33,8 @@ public:
   bool  Play(bool async = TRUE, bool looped = FALSE) const;
 
 protected:
-  bool  Free();
+  // prevent collision with some BSD definitions of macro Free()
+  bool  FreeData();
 
 private:
   void* m_sndChan;