/////////////////////////////////////////////////////////////////////////////
-// Name: sound.h
+// Name: wx/os2/sound.h
// Purpose: wxSound class (loads and plays short Windows .wav files).
// Optional on non-Windows platforms.
// Author: David Webster
wxSound();
wxSound(const wxString& fileName, bool isResource = FALSE);
wxSound(int size, const wxByte* data);
- ~wxSound();
+ virtual ~wxSound();
public:
// Create from resource or file
protected:
bool Free();
-
+
bool DoPlay(unsigned flags) const;
private: