wxOS2 with Open Watcom: correct PCH usage, missing headers, warning fixes, source cleaning and other Watcom adjustements.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34901 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2005-07-21 17:00:07 +00:00
parent 7a893a3152
commit 6670f56440
56 changed files with 1547 additions and 1936 deletions

View File

@@ -121,22 +121,23 @@ bool wxSound::Create(int size, const wxByte* data)
return TRUE;
}
bool wxSound::DoPlay(unsigned flags) const
bool wxSound::DoPlay(unsigned WXUNUSED(flags)) const
{
if (!IsOk())
return FALSE;
if (!IsOk())
return false;
// TODO:
/*
return ( ::PlaySound((LPCTSTR)m_waveData, NULL, SND_MEMORY |
SND_NODEFAULT | (async ? SND_ASYNC : SND_SYNC) | (looped ? (SND_LOOP | SND_ASYNC) : 0)) != 0 );
return ( ::PlaySound((LPCTSTR)m_waveData, NULL, SND_MEMORY |
SND_NODEFAULT | (async ? SND_ASYNC : SND_SYNC) | (looped ? (SND_LOOP | SND_ASYNC) : 0)) != 0 );
*/
return FALSE;
return false;
}
bool wxSound::Free()
{
if (m_waveData)
{
if (m_waveData)
{
// HGLOBAL waveData = ::GlobalHandle(m_waveData);
// TODO:
@@ -156,7 +157,6 @@ bool wxSound::Free()
return TRUE;
}
*/
}
return FALSE;
}
return false;
}