]>
Commit | Line | Data |
---|---|---|
e9e23cb5 VS |
1 | ///////////////////////////////////////////////////////////////////////////// |
2 | // Name: wx/wave.h | |
3 | // Purpose: wxSound compatibility header | |
4 | // Author: Vaclav Slavik | |
5 | // Modified by: | |
6 | // Created: 2004/02/01 | |
7 | // RCS-ID: $Id$ | |
8 | // Copyright: (c) 2004, Vaclav Slavik | |
9 | // Licence: wxWindows licence | |
10 | ///////////////////////////////////////////////////////////////////////////// | |
11 | ||
cbb8c1d3 MR |
12 | #ifndef _WX_WAVE_H_BASE_ |
13 | #define _WX_WAVE_H_BASE_ | |
14 | ||
e9e23cb5 VS |
15 | #include "wx/setup.h" |
16 | ||
cad1a197 VS |
17 | #if wxUSE_SOUND |
18 | ||
e9e23cb5 | 19 | #if WXWIN_COMPATIBILITY_2_4 |
439e20bb JS |
20 | #ifdef __DMC__ |
21 | #pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound" | |
22 | #else | |
e9e23cb5 | 23 | #warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound" |
439e20bb | 24 | #endif |
e9e23cb5 | 25 | #include "wx/sound.h" |
cad1a197 VS |
26 | // wxSound used to be called wxWave before wxWindows 2.5.1: |
27 | typedef wxSound wxWave; | |
e9e23cb5 VS |
28 | #else |
29 | #error "wx/wave.h is only available in compatibility mode" | |
cbb8c1d3 MR |
30 | #endif |
31 | ||
32 | #endif | |
cad1a197 VS |
33 | |
34 | #endif |