]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/mac/carbon/sound.h
avoid GCC warning about type-punned pointer breaking strict aliasing rules
[wxWidgets.git] / include / wx / mac / carbon / sound.h
index 54bceddf37afea011b66544b2a5c95f9dde53e01..670b170b9e0f74bce4bdabd9a63749720e351b9f 100644 (file)
 #ifndef _WX_SOUND_H_
 #define _WX_SOUND_H_
 
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma interface "sound.h"
-#endif
-
 #if wxUSE_SOUND
 
 #include "wx/object.h"
 
-class WXDLLEXPORT wxSound : public wxSoundBase
+class WXDLLIMPEXP_ADV wxSound : public wxSoundBase
 {
 public:
   wxSound();
   wxSound(const wxString& fileName, bool isResource = FALSE);
   wxSound(int size, const wxByte* data);
-  ~wxSound();
+  virtual ~wxSound();
 
 public:
   bool  Create(const wxString& fileName, bool isResource = FALSE);