X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2bda0e173844e8e0f8acf4e8ad8b5c26e5c6fe5d..34138703c3997ce676a1e713d9ff9eb020640da7:/src/msw/wave.cpp diff --git a/src/msw/wave.cpp b/src/msw/wave.cpp index 8f54200b7b..6486eec941 100644 --- a/src/msw/wave.cpp +++ b/src/msw/wave.cpp @@ -21,12 +21,12 @@ #endif #ifndef WX_PRECOMP -#include +#include "wx/wx.h" #endif -#include -#include -#include +#include "wx/file.h" +#include "wx/msw/wave.h" +#include "wx/msw/private.h" #include #include @@ -36,10 +36,10 @@ #endif #ifdef __GNUWIN32__ -#include +#include "wx/msw/gnuwin32/extra.h" #endif -wxWave::wxWave(void) +wxWave::wxWave() : m_waveLength(0), m_isResource(FALSE), m_waveData(NULL) { } @@ -51,7 +51,7 @@ wxWave::wxWave(const wxString& sFileName, bool isResource) } -wxWave::~wxWave(void) +wxWave::~wxWave() { Free(); } @@ -117,8 +117,7 @@ bool wxWave::Play(bool async, bool looped) const #endif } -bool -wxWave::Free(void) +bool wxWave::Free() { if (m_waveData) {