X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7fc65a0384df4007a96cd5bab98b0f7abef0af52..7ea1c917764fb2588fe1aadc75c49ba300f8cb2f:/src/generic/notebook.cpp diff --git a/src/generic/notebook.cpp b/src/generic/notebook.cpp index 07eb75b0fc..6b6b84c79a 100644 --- a/src/generic/notebook.cpp +++ b/src/generic/notebook.cpp @@ -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) );