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

@@ -207,7 +207,7 @@ wxString wxNotebook::GetPageText(size_t nPage) const
return wxEmptyString;
}
int wxNotebook::GetPageImage(size_t nPage) const
int wxNotebook::GetPageImage(size_t WXUNUSED_UNLESS_DEBUG(nPage)) const
{
wxASSERT( IS_VALID_PAGE(nPage) );
@@ -215,7 +215,8 @@ int wxNotebook::GetPageImage(size_t nPage) const
return 0;
}
bool wxNotebook::SetPageImage(size_t nPage, int WXUNUSED(nImage))
bool wxNotebook::SetPageImage(size_t WXUNUSED_UNLESS_DEBUG(nPage),
int WXUNUSED(nImage))
{
wxASSERT( IS_VALID_PAGE(nPage) );

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") );