Don't make wxDataViewCtrl::ExpandAncestors() virtual

This method has a common implementation and is not supposed to be overridden.
This commit is contained in:
Vadim Zeitlin 2016-03-22 21:14:10 +01:00
parent d324bd2469
commit aa9e7d3326
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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