]>
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 VS |
19 | #if WXWIN_COMPATIBILITY_2_4 |
20 | #warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound" | |
21 | #include "wx/sound.h" | |
cad1a197 VS |
22 | // wxSound used to be called wxWave before wxWindows 2.5.1: |
23 | typedef wxSound wxWave; | |
e9e23cb5 VS |
24 | #else |
25 | #error "wx/wave.h is only available in compatibility mode" | |
cbb8c1d3 MR |
26 | #endif |
27 | ||
28 | #endif | |
cad1a197 VS |
29 | |
30 | #endif |