]> git.saurik.com Git - wxWidgets.git/commitdiff
added missing destructor
authorStefan Csomor <csomor@advancedconcepts.ch>
Mon, 14 Sep 2009 13:23:48 +0000 (13:23 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Mon, 14 Sep 2009 13:23:48 +0000 (13:23 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@61927 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/osx/core/sound.cpp

index 066dcebd6c67ba29e554423408bd023535846a9b..fb5ef885015126f1383c265a7818521b3dffc0fd 100644 (file)
@@ -56,6 +56,11 @@ wxOSXAudioToolboxSoundData::wxOSXAudioToolboxSoundData(const wxString& fileName)
     m_sndname = fileName;
 }
 
+wxOSXAudioToolboxSoundData::~wxOSXAudioToolboxSoundData()
+{
+    DoStop();
+}
+
 void wxOSXAudioToolboxSoundData::CompletionCallback(SystemSoundID  mySSID, void * soundRef)
 {
     wxOSXAudioToolboxSoundData* data = (wxOSXAudioToolboxSoundData*) soundRef;