]> git.saurik.com Git - wxWidgets.git/blob - include/wx/wave.h
small cleanup, removed unused headers
[wxWidgets.git] / include / wx / wave.h
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
12 #ifndef _WX_WAVE_H_BASE_
13 #define _WX_WAVE_H_BASE_
14
15 #include "wx/defs.h"
16
17 #if wxUSE_SOUND
18
19 #if WXWIN_COMPATIBILITY_2_4
20 #if defined(__DMC__) || defined(__BORLANDC__)
21 #pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
22 #elif defined(__WATCOMC__) || defined(__VISUALC__)
23 #pragma message ("wx/wave.h header is deprecated, use wx/sound.h and wxSound")
24 #else
25 #warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
26 #endif
27 #include "wx/sound.h"
28 // wxSound used to be called wxWave before wxWidgets 2.5.1:
29 typedef wxSound wxWave;
30 #else
31 #error "wx/wave.h is only available in compatibility mode"
32 #endif
33
34 #endif
35
36 #endif