]> git.saurik.com Git - wxWidgets.git/blobdiff - samples/dataview/mymodels.cpp
build a 2.9.x windows setup file and chm and htb sets of docs
[wxWidgets.git] / samples / dataview / mymodels.cpp
index 3d19ca351e313d03b1cfdae8b294fbe7f832b51f..03c13cd35631618b9b199b646e948df181c932c2 100644 (file)
@@ -156,7 +156,7 @@ void MyMusicTreeModel::Delete( const wxDataViewItem &item )
 }
 
 int MyMusicTreeModel::Compare( const wxDataViewItem &item1, const wxDataViewItem &item2,
-                               unsigned int column, bool ascending )
+                               unsigned int column, bool ascending ) const
 {
     wxASSERT(item1.IsOk() && item2.IsOk());
         // should never happen