Added wxDataViewListIndexModel::Reset(), clarified and corrected wxDataViewModel::Cleared(), corrected sample
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50768 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -73,6 +73,16 @@ Returns the position of given {\it item}.
|
||||
|
||||
Override this to allow getting values from the model.
|
||||
|
||||
|
||||
\membersection{wxDataViewIndexListModel::Reset}\label{wxdataviewindexlistmodelreset}
|
||||
|
||||
\func{void}{Reset}{\param{unsigned int }{new\_size}}
|
||||
|
||||
Call this after if the data has to be read again from
|
||||
the model. This is useful after major changes when
|
||||
calling the methods below (possibly thousands of times)
|
||||
doesn't make sense.
|
||||
|
||||
\membersection{wxDataViewIndexListModel::RowAppended}\label{wxdataviewindexlistmodelrowappended}
|
||||
|
||||
\func{void}{RowAppended}{\void}
|
||||
|
@@ -124,7 +124,8 @@ to the model.
|
||||
|
||||
\func{virtual bool}{Cleared}{\void}
|
||||
|
||||
Called to inform the model that all data has been deleted.
|
||||
Called to inform the model that all data has been cleared. The
|
||||
control will reread the data from the model again.
|
||||
|
||||
|
||||
\membersection{wxDataViewModel::Compare}\label{wxdataviewmodelcompare}
|
||||
|
Reference in New Issue
Block a user