X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9dea36ef6d117e0562f0079345a77ff1696d3a49..bbee1b4abc13379569607df8f6985ec68dc12231:/src/os2/wave.cpp diff --git a/src/os2/wave.cpp b/src/os2/wave.cpp index 4d4ac669f9..87320e0d63 100644 --- a/src/os2/wave.cpp +++ b/src/os2/wave.cpp @@ -23,7 +23,7 @@ #define INCL_DOSFILEMGR #define INCL_WIN #define INCL_GPI -#define INCL_PM +#define INCL_PM #include #include #include @@ -86,6 +86,7 @@ bool wxWave::Create(const wxString& fileName, bool isResource) else { m_isResource = FALSE; +#if wxUSE_FILE wxFile fileWave; if (!fileWave.Open(fileName, wxFile::read)) @@ -101,6 +102,9 @@ bool wxWave::Create(const wxString& fileName, bool isResource) fileWave.Read(m_waveData, m_waveLength); */ return TRUE; +#else + return FALSE; +#endif //wxUSE_FILE } }