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:
@@ -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
|
||||
|
Reference in New Issue
Block a user