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:
@@ -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) );
|
||||
|
||||
|
@@ -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") );
|
||||
|
Reference in New Issue
Block a user