]> git.saurik.com Git - wxWidgets.git/blame - include/wx/wave.h
fixed MSVC6 compiler warning
[wxWidgets.git] / include / wx / wave.h
CommitLineData
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
65571936 9// Licence: wxWindows licence
e9e23cb5
VS
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
d61c1a6f 20#if defined(__DMC__) || defined(__BORLANDC__)
439e20bb 21 #pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
89607008 22#elif defined(__WATCOMC__) || defined(__VISUALC__)
d61c1a6f 23 #pragma message ("wx/wave.h header is deprecated, use wx/sound.h and wxSound")
439e20bb 24#else
e9e23cb5 25 #warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
439e20bb 26#endif
e9e23cb5 27 #include "wx/sound.h"
77ffb593 28 // wxSound used to be called wxWave before wxWidgets 2.5.1:
cad1a197 29 typedef wxSound wxWave;
e9e23cb5
VS
30#else
31 #error "wx/wave.h is only available in compatibility mode"
cbb8c1d3
MR
32#endif
33
34#endif
cad1a197
VS
35
36#endif