renamed wxWave to wxSound; compatibility fixes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25472 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-02-02 13:16:31 +00:00
parent bae90c4cd5
commit cad1a197e5
4 changed files with 74 additions and 38 deletions

View File

@@ -14,11 +14,17 @@
#include "wx/setup.h"
#if wxUSE_SOUND
#if WXWIN_COMPATIBILITY_2_4
#warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
#include "wx/sound.h"
// wxSound used to be called wxWave before wxWindows 2.5.1:
typedef wxSound wxWave;
#else
#error "wx/wave.h is only available in compatibility mode"
#endif
#endif
#endif