fixed unused parameter warnings in non-debug build

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2005-10-08 21:24:32 +00:00
parent ad60f069f1
commit 3f9ee1cd85
2 changed files with 5 additions and 3 deletions

View File

@@ -447,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") );