X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae090fdb7f4be47466b5728ad37065923b48c8c3..85b43fbf7a512ea49cf491320c458bec705762ed:/src/msw/wave.cpp diff --git a/src/msw/wave.cpp b/src/msw/wave.cpp index 4016b5dce9..d3ff52853b 100644 --- a/src/msw/wave.cpp +++ b/src/msw/wave.cpp @@ -5,8 +5,8 @@ // Modified by: // Created: 04/01/98 // RCS-ID: $Id$ -// Copyright: (c) Julian Smart and Markus Holzem -// Licence: wxWindows license +// Copyright: (c) Julian Smart +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// #ifdef __GNUG__ @@ -20,6 +20,8 @@ #pragma hdrstop #endif +#if wxUSE_WAVE + #ifndef WX_PRECOMP #include "wx/wx.h" #endif @@ -68,7 +70,7 @@ bool wxWave::Create(const wxString& fileName, bool isResource) m_isResource = TRUE; HRSRC hresInfo; -#if defined(__WIN32__) && !defined(__TWIN32__) +#if defined(__WIN32__) #ifdef _UNICODE hresInfo = ::FindResourceW((HMODULE) wxhInstance, fileName, wxT("WAVE")); #else @@ -165,4 +167,4 @@ bool wxWave::Free() return FALSE; } - +#endif // wxUSE_WAVE