X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85c9f98b509e8a7870a99fb580775f6fda4cf38e..74c34d22773e39b13fe0502798494b38f261a9e5:/include/wx/cocoa/sound.h diff --git a/include/wx/cocoa/sound.h b/include/wx/cocoa/sound.h index c85e7d3978..10c3d81893 100644 --- a/include/wx/cocoa/sound.h +++ b/include/wx/cocoa/sound.h @@ -16,7 +16,7 @@ #include "wx/object.h" #include "wx/cocoa/ObjcRef.h" -class WXDLLEXPORT wxSound : public wxSoundBase +class WXDLLIMPEXP_ADV wxSound : public wxSoundBase { public: wxSound() @@ -29,7 +29,7 @@ public: : m_cocoaNSSound(NULL) { LoadWAV(data,size,true); } wxSound(const wxSound& sound); // why not? - ~wxSound(); + virtual ~wxSound(); public: bool Create(const wxString& fileName, bool isResource = false);