]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/notebook.cpp
using new API (no visual difference)
[wxWidgets.git] / src / generic / notebook.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) );