]> git.saurik.com Git - wxWidgets.git/commitdiff
fixed unused parameter warnings in non-debug build
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Oct 2005 21:24:32 +0000 (21:24 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 8 Oct 2005 21:24:32 +0000 (21:24 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35849 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/notebook.cpp
src/unix/sound.cpp

index 07eb75b0fcdc6d5096cdfe6e09cf568be7b1d33b..6b6b84c79a9a62704f856ecf3274d880ec74e141 100644 (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) );
 
index ce7557247174a2fe5fb96cd1e4dd442a07273bd1..fbd980238369c95ecb1ccf271164dadcb1ca212a 100644 (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") );