]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/sound.h
Generalized compilation fix for old compilers.
[wxWidgets.git] / include / wx / sound.h
index cb9f8365541715e0003c2736594d7b42bdf77048..37315eb8a37410248f46394b8ee15640149d83a7 100644 (file)
 #ifndef _WX_SOUND_H_BASE_
 #define _WX_SOUND_H_BASE_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "soundbase.h"
-#endif
-
 #include "wx/defs.h"
 
 #if wxUSE_SOUND
@@ -67,6 +63,8 @@ protected:
 
 #if defined(__WXMSW__)
     #include "wx/msw/sound.h"
+#elif defined(__WXCOCOA__)
+    #include "wx/cocoa/sound.h"
 #elif defined(__WXMAC__)
     #include "wx/mac/sound.h"
 #elif defined(__WXPM__)