2004-02-01 18:27:25 +00:00
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
// Name: wx/wave.h
|
|
|
|
// Purpose: wxSound compatibility header
|
|
|
|
// Author: Vaclav Slavik
|
|
|
|
// Modified by:
|
|
|
|
// Created: 2004/02/01
|
|
|
|
// RCS-ID: $Id$
|
|
|
|
// Copyright: (c) 2004, Vaclav Slavik
|
|
|
|
// Licence: wxWindows licence
|
|
|
|
/////////////////////////////////////////////////////////////////////////////
|
|
|
|
|
1998-10-28 13:21:29 +00:00
|
|
|
#ifndef _WX_WAVE_H_BASE_
|
|
|
|
#define _WX_WAVE_H_BASE_
|
|
|
|
|
2004-02-01 18:27:25 +00:00
|
|
|
#include "wx/setup.h"
|
|
|
|
|
2004-02-02 13:16:31 +00:00
|
|
|
#if wxUSE_SOUND
|
|
|
|
|
2004-02-01 18:27:25 +00:00
|
|
|
#if WXWIN_COMPATIBILITY_2_4
|
2004-02-12 19:47:58 +00:00
|
|
|
#ifdef __DMC__
|
|
|
|
#pragma message "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
|
|
|
#else
|
2004-02-01 18:27:25 +00:00
|
|
|
#warning "wx/wave.h header is deprecated, use wx/sound.h and wxSound"
|
2004-02-12 19:47:58 +00:00
|
|
|
#endif
|
2004-02-01 18:27:25 +00:00
|
|
|
#include "wx/sound.h"
|
2004-02-02 13:16:31 +00:00
|
|
|
// wxSound used to be called wxWave before wxWindows 2.5.1:
|
|
|
|
typedef wxSound wxWave;
|
2004-02-01 18:27:25 +00:00
|
|
|
#else
|
|
|
|
#error "wx/wave.h is only available in compatibility mode"
|
1998-10-28 13:21:29 +00:00
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|
2004-02-02 13:16:31 +00:00
|
|
|
|
|
|
|
#endif
|