diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 22798b1842..012a2d6774 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -122,7 +122,11 @@ public: virtual bool SetValue( const wxVariant &variant, unsigned int col, unsigned int row ) = 0; // override to set cell attributes - virtual void GetAttr( wxListItemAttr &attr, unsigned int col, unsigned int row ) { } + virtual void GetAttr( wxListItemAttr& WXUNUSED(attr), + unsigned int WXUNUSED(col), + unsigned int WXUNUSED(row) ) + { + } // delegated notifiers virtual bool RowAppended(); diff --git a/src/common/datavcmn.cpp b/src/common/datavcmn.cpp index e4b770d704..ab02b8e824 100644 --- a/src/common/datavcmn.cpp +++ b/src/common/datavcmn.cpp @@ -944,7 +944,7 @@ public: { return SendEvent( wxEVT_COMMAND_DATAVIEW_MODEL_ROW_CHANGED, row ); } virtual bool ValueChanged( unsigned int col, unsigned int row ) { return SendEvent( wxEVT_COMMAND_DATAVIEW_MODEL_VALUE_CHANGED, row, col ); } - virtual bool RowsReordered( unsigned int *new_order ) + virtual bool RowsReordered( unsigned int * WXUNUSED(new_order) ) { return SendEvent( wxEVT_COMMAND_DATAVIEW_MODEL_ROWS_REORDERED ); } virtual bool Cleared() { return SendEvent( wxEVT_COMMAND_DATAVIEW_MODEL_CLEARED ); }