From aa9e7d3326bc25d693175f1651db918722727e07 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Tue, 22 Mar 2016 21:14:10 +0100 Subject: [PATCH] Don't make wxDataViewCtrl::ExpandAncestors() virtual This method has a common implementation and is not supposed to be overridden. --- include/wx/dataview.h | 2 +- interface/wx/dataview.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/include/wx/dataview.h b/include/wx/dataview.h index 5cebecc126..781f87dc95 100644 --- a/include/wx/dataview.h +++ b/include/wx/dataview.h @@ -706,7 +706,7 @@ public: virtual void UnselectAll() = 0; virtual void Expand( const wxDataViewItem & item ) = 0; - virtual void ExpandAncestors( const wxDataViewItem & item ); + void ExpandAncestors( const wxDataViewItem & item ); virtual void Collapse( const wxDataViewItem & item ) = 0; virtual bool IsExpanded( const wxDataViewItem & item ) const = 0; diff --git a/interface/wx/dataview.h b/interface/wx/dataview.h index 950f6a21a1..eef3737576 100644 --- a/interface/wx/dataview.h +++ b/interface/wx/dataview.h @@ -1299,7 +1299,7 @@ public: ensures that the item itself as well as all ancestor items have been read from the model by the control. */ - virtual void ExpandAncestors( const wxDataViewItem & item ); + void ExpandAncestors( const wxDataViewItem & item ); /** Returns pointer to the column. @a pos refers to the position in the