]> git.saurik.com Git - wxWidgets.git/blobdiff - interface/wx/sound.h
fix tests for WXWIN_COMPATIBILITY_2_8, closes #13800
[wxWidgets.git] / interface / wx / sound.h
index def7b84b550dbd7a3899b60f1b590dd883c7e38d..5f2c78300b90a22180a5ab3794a00ba8ca2da621 100644 (file)
@@ -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.
     */