X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/526954c5968baa29218c994ec48e476ae2bd4b9f..846f4568e5599a964ee04b186a263cd07b959d2f:/interface/wx/sound.h?ds=sidebyside diff --git a/interface/wx/sound.h b/interface/wx/sound.h index def7b84b55..5f2c78300b 100644 --- a/interface/wx/sound.h +++ b/interface/wx/sound.h @@ -37,6 +37,16 @@ public: */ wxSound(const wxString& fileName, bool isResource = false); + /** + Constructs a wave object from in-memory data. + + @param size + Size of the buffer pointer to by @a data. + @param data + The buffer containing the sound data in WAV format. + */ + wxSound(size_t size, const void* data); + /** Destroys the wxSound object. */