Added const and virtual in various places

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48510 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-08-31 09:55:36 +00:00
parent a976841204
commit 097119648b
2 changed files with 17 additions and 17 deletions

View File

@@ -156,7 +156,7 @@ public:
// default compare function
virtual int Compare( const wxDataViewItem &item1, const wxDataViewItem &item2,
unsigned int column, bool ascending );
virtual bool HasDefaultCompare() { return false; }
virtual bool HasDefaultCompare() const { return false; }
protected:
// the user should not delete this class directly: he should use DecRef() instead!
@@ -199,7 +199,7 @@ public:
virtual int Compare( const wxDataViewItem &item1, const wxDataViewItem &item2,
unsigned int column, bool ascending );
virtual bool HasDefaultCompare() { return true; }
virtual bool HasDefaultCompare() const { return true; }
// implement base methods