From: Vadim Zeitlin Date: Fri, 5 Dec 2008 22:48:25 +0000 (+0000) Subject: suppress (harmless) unused parameter warnings X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/e215c9959cfae9db319cbca376553301dfa17cf1?ds=inline suppress (harmless) unused parameter warnings git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57137 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index 567eb55d57..5b7205f3d7 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -851,6 +851,12 @@ wxDataViewColumnBase::wxDataViewColumnBase(const wxString& title, // NOTE: the wxDataViewColumn's ctor must store the width, align, flags // parameters inside the native control! +#ifndef wxHAS_GENERIC_DATAVIEWCTRL + wxUnusedVar(title); + wxUnusedVar(width); + wxUnusedVar(align); + wxUnusedVar(flags); +#endif // !wxHAS_GENERIC_DATAVIEWCTRL } wxDataViewColumnBase::wxDataViewColumnBase(const wxBitmap& bitmap, @@ -869,6 +875,12 @@ wxDataViewColumnBase::wxDataViewColumnBase(const wxBitmap& bitmap, m_model_column = model_column; m_owner = NULL; m_renderer->SetOwner( (wxDataViewColumn*) this ); + +#ifndef wxHAS_GENERIC_DATAVIEWCTRL + wxUnusedVar(width); + wxUnusedVar(align); + wxUnusedVar(flags); +#endif // !wxHAS_GENERIC_DATAVIEWCTRL } wxDataViewColumnBase::~wxDataViewColumnBase()