]> git.saurik.com Git - wxWidgets.git/commitdiff
fix unused parameters warnings
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Jun 2007 23:57:25 +0000 (23:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 16 Jun 2007 23:57:25 +0000 (23:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@46499 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/dataview.h
src/common/datavcmn.cpp

index 22798b1842477e4f014bd1d938fa40e8ad65c51b..012a2d6774840db5f829c56dafed7a28d238fd71 100644 (file)
@@ -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();
index e4b770d70468a0e646337d999443ca1e6b641d96..ab02b8e824d03201b6124f0d00cc87eb962a882e 100644 (file)
@@ -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 ); }