Make wxDataViewCtrl::IsMultiColumnSortAllowed() exist in all ports

Contrary to the documentation, this method only existed in the generic
control, add it to the base class now so that the code using it could compile
when using the native ports too.
This commit is contained in:
Vadim Zeitlin
2016-03-05 18:42:02 +01:00
parent 062444ee50
commit 34b0e534f8
2 changed files with 4 additions and 1 deletions

View File

@@ -227,7 +227,7 @@ public:
virtual bool SetFont(const wxFont & font) wxOVERRIDE;
virtual bool AllowMultiColumnSort(bool allow) wxOVERRIDE;
virtual bool IsMultiColumnSortAllowed() { return m_allowMultiColumnSort; }
virtual bool IsMultiColumnSortAllowed() const wxOVERRIDE { return m_allowMultiColumnSort; }
virtual void ToggleSortByColumn(int column) wxOVERRIDE;
#if wxUSE_DRAG_AND_DROP