projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
linking fixes
[wxWidgets.git]
/
src
/
os2
/
wave.cpp
diff --git
a/src/os2/wave.cpp
b/src/os2/wave.cpp
index 4d4ac669f9427ed4f5dcd7ff81d124d2ccb6cab2..87320e0d63e56279c82a77d7467967a4f71685cf 100644
(file)
--- 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_DOSFILEMGR
#define INCL_WIN
#define INCL_GPI
-#define INCL_PM
+#define INCL_PM
#include <os2.h>
#include <stdio.h>
#include <string.h>
#include <os2.h>
#include <stdio.h>
#include <string.h>
@@
-86,6
+86,7
@@
bool wxWave::Create(const wxString& fileName, bool isResource)
else
{
m_isResource = FALSE;
else
{
m_isResource = FALSE;
+#if wxUSE_FILE
wxFile fileWave;
if (!fileWave.Open(fileName, wxFile::read))
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;
fileWave.Read(m_waveData, m_waveLength);
*/
return TRUE;
+#else
+ return FALSE;
+#endif //wxUSE_FILE
}
}
}
}