X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8e6efd1fd2f6cedda23140aff17f56b26ef7c2d2..61f09f569358d7b2752733c4a24d1bd10daefae2:/include/wx/osx/sound.h diff --git a/include/wx/osx/sound.h b/include/wx/osx/sound.h index 10a781caf9..7b0329bdec 100644 --- a/include/wx/osx/sound.h +++ b/include/wx/osx/sound.h @@ -30,6 +30,9 @@ public : virtual void Stop(); // can be called by a timer for repeated tasks during playback virtual void SoundTask(); + // mark this to be deleted + virtual void MarkForDeletion(); + virtual bool IsMarkedForDeletion() const { return m_markedForDeletion; } // does the true work of stopping and cleaning up virtual void DoStop() = 0; @@ -38,6 +41,7 @@ protected : unsigned int m_flags; wxSoundTimer* m_pTimer; + bool m_markedForDeletion; } ; class WXDLLIMPEXP_ADV wxSound : public wxSoundBase