diff --git a/include/wx/xti.h b/include/wx/xti.h index 8137aa64a8..c2e3b87d0d 100644 --- a/include/wx/xti.h +++ b/include/wx/xti.h @@ -877,7 +877,8 @@ public : wxGenericPropertyAccessor( const wxString &propName ) ; ~wxGenericPropertyAccessor() ; - void RenameProperty( const wxString &oldName , const wxString &newName ) + void RenameProperty( const wxString& WXUNUSED_UNLESS_DEBUG(oldName), + const wxString& newName ) { wxASSERT( oldName == m_propertyName ) ; m_propertyName = newName ; }