From b70109ee7a2fd3569df8ab4eb81af9e1acd0ac71 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 Mar 2016 18:39:22 +0100 Subject: [PATCH] Don't make some generic wxDataViewCtrl unnecessarily virtual These methods are not supposed to be overridden and don't override any base class methods neither. --- include/wx/generic/dataview.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/generic/dataview.h b/include/wx/generic/dataview.h index bb064e3d0b..68e8ef2c86 100644 --- a/include/wx/generic/dataview.h +++ b/include/wx/generic/dataview.h @@ -249,8 +249,8 @@ protected: // Notice that row here may be invalid (i.e. >= GetRowCount()), this is not // an error and this function simply returns an invalid item in this case. - virtual wxDataViewItem GetItemByRow( unsigned int row ) const; - virtual int GetRowByItem( const wxDataViewItem & item ) const; + wxDataViewItem GetItemByRow( unsigned int row ) const; + int GetRowByItem( const wxDataViewItem & item ) const; // Mark the column as being used or not for sorting. void UseColumnForSorting(int idx);