]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/wave.h
added definition of TARGET_CARBON when compiling with non generated setup.h
[wxWidgets.git] / include / wx / mac / wave.h
index 6f9f959b81542281100d8630a444daa11ab30591..6fdbf6519bf581c63b5b4723f4d3f38c6b64999b 100644 (file)
 #ifndef _WX_WAVE_H_
 #define _WX_WAVE_H_
 
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(__APPLE__)
 #pragma interface "wave.h"
 #endif
 
+#if wxUSE_WAVE
+
 #include "wx/object.h"
 
 class WXDLLEXPORT wxWave : public wxObject
@@ -38,12 +40,13 @@ protected:
 
 private:
   void* m_sndChan;
-       
+
   wxString m_sndname;
   void* m_hSnd;
   int   m_waveLength;
   bool  m_isResource;
 };
 
+#endif
 #endif
     // _WX_WAVE_H_