X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/85c9f98b509e8a7870a99fb580775f6fda4cf38e..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/cocoa/sound.h?ds=inline 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);