Make generic wxDataViewCtrl EnsureVisible() overload non-virtual

There doesn't seem to be any reason for this method to be virtual other than
preventing "virtual function hiding" warnings from gcc, so just rename it to
have a different name than the virtual EnsureVisible() inherited from the base
class instead.
This commit is contained in:
Vadim Zeitlin
2016-03-05 18:40:06 +01:00
parent b70109ee7a
commit 062444ee50
2 changed files with 8 additions and 8 deletions

View File

@@ -245,7 +245,7 @@ public:
void SetAlternateRowColour(const wxColour& colour);
protected:
virtual void EnsureVisible( int row, int column );
void EnsureVisibleRowCol( int row, int column );
// 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.