Make calls wxDataViewModel::ItemDeleted() etc. non-virtual as they are not supposed to be overridden

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@65082 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2010-07-24 15:30:03 +00:00
parent cbc751bc56
commit 9ca2afd1db
2 changed files with 14 additions and 14 deletions

View File

@@ -236,14 +236,14 @@ public:
virtual unsigned int GetChildren( const wxDataViewItem &item, wxDataViewItemArray &children ) const = 0; virtual unsigned int GetChildren( const wxDataViewItem &item, wxDataViewItemArray &children ) const = 0;
// delegated notifiers // delegated notifiers
virtual bool ItemAdded( const wxDataViewItem &parent, const wxDataViewItem &item ); bool ItemAdded( const wxDataViewItem &parent, const wxDataViewItem &item );
virtual bool ItemsAdded( const wxDataViewItem &parent, const wxDataViewItemArray &items ); bool ItemsAdded( const wxDataViewItem &parent, const wxDataViewItemArray &items );
virtual bool ItemDeleted( const wxDataViewItem &parent, const wxDataViewItem &item ); bool ItemDeleted( const wxDataViewItem &parent, const wxDataViewItem &item );
virtual bool ItemsDeleted( const wxDataViewItem &parent, const wxDataViewItemArray &items ); bool ItemsDeleted( const wxDataViewItem &parent, const wxDataViewItemArray &items );
virtual bool ItemChanged( const wxDataViewItem &item ); bool ItemChanged( const wxDataViewItem &item );
virtual bool ItemsChanged( const wxDataViewItemArray &items ); bool ItemsChanged( const wxDataViewItemArray &items );
virtual bool ValueChanged( const wxDataViewItem &item, unsigned int col ); bool ValueChanged( const wxDataViewItem &item, unsigned int col );
virtual bool Cleared(); bool Cleared();
// delegatd action // delegatd action
virtual void Resort(); virtual void Resort();

View File

@@ -227,7 +227,7 @@ public:
/** /**
Call this to inform the model that an item has been added to the data. Call this to inform the model that an item has been added to the data.
*/ */
virtual bool ItemAdded(const wxDataViewItem& parent, bool ItemAdded(const wxDataViewItem& parent,
const wxDataViewItem& item); const wxDataViewItem& item);
/** /**
@@ -236,18 +236,18 @@ public:
This will eventually emit a wxEVT_DATAVIEW_ITEM_VALUE_CHANGED This will eventually emit a wxEVT_DATAVIEW_ITEM_VALUE_CHANGED
event (in which the column fields will not be set) to the user. event (in which the column fields will not be set) to the user.
*/ */
virtual bool ItemChanged(const wxDataViewItem& item); bool ItemChanged(const wxDataViewItem& item);
/** /**
Call this to inform the model that an item has been deleted from the data. Call this to inform the model that an item has been deleted from the data.
*/ */
virtual bool ItemDeleted(const wxDataViewItem& parent, bool ItemDeleted(const wxDataViewItem& parent,
const wxDataViewItem& item); const wxDataViewItem& item);
/** /**
Call this to inform the model that several items have been added to the data. Call this to inform the model that several items have been added to the data.
*/ */
virtual bool ItemsAdded(const wxDataViewItem& parent, bool ItemsAdded(const wxDataViewItem& parent,
const wxDataViewItemArray& items); const wxDataViewItemArray& items);
/** /**
@@ -256,12 +256,12 @@ public:
This will eventually emit wxEVT_DATAVIEW_ITEM_VALUE_CHANGED This will eventually emit wxEVT_DATAVIEW_ITEM_VALUE_CHANGED
events (in which the column fields will not be set) to the user. events (in which the column fields will not be set) to the user.
*/ */
virtual bool ItemsChanged(const wxDataViewItemArray& items); bool ItemsChanged(const wxDataViewItemArray& items);
/** /**
Call this to inform the model that several items have been deleted. Call this to inform the model that several items have been deleted.
*/ */
virtual bool ItemsDeleted(const wxDataViewItem& parent, bool ItemsDeleted(const wxDataViewItem& parent,
const wxDataViewItemArray& items); const wxDataViewItemArray& items);
/** /**