X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0586024f65fa25a1ea990ee7a86ce22e6f431cb8..4c81b43195fca7768fe5b7db1a93b51b41b8f28a:/src/unix/sound.cpp diff --git a/src/unix/sound.cpp b/src/unix/sound.cpp index 9c2d86294b..fbd9802383 100644 --- a/src/unix/sound.cpp +++ b/src/unix/sound.cpp @@ -9,11 +9,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "sound.h" -#pragma implementation "soundbase.h" -#endif - // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" @@ -452,7 +447,8 @@ wxSound::~wxSound() Free(); } -bool wxSound::Create(const wxString& fileName, bool isResource) +bool wxSound::Create(const wxString& fileName, + bool WXUNUSED_UNLESS_DEBUG(isResource)) { wxASSERT_MSG( !isResource, _T("Loading sound from resources is only supported on Windows") );