X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5c04afea29acb153055ba4cde96d0eaa9ab4fef3..2712e31795ee7ab4de62189b440d702f3f849c0d:/docs/latex/wx/dataviewindexlistmodel.tex diff --git a/docs/latex/wx/dataviewindexlistmodel.tex b/docs/latex/wx/dataviewindexlistmodel.tex index c334f0e6a0..a83d691c57 100644 --- a/docs/latex/wx/dataviewindexlistmodel.tex +++ b/docs/latex/wx/dataviewindexlistmodel.tex @@ -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} @@ -91,6 +101,14 @@ Call this after a row has been changed. Call this after a row has been deleted. +\membersection{wxDataViewIndexListModel::RowsDeleted}\label{wxdataviewindexlistmodelrowdeleted} + +\func{void}{RowsDeleted}{\param{const wxArrayInt &}{rows}} + +Call this after rows have been deleted. The array will internally +get copied and sorted in descending order so that the rows with +the highest position will be deleted first. + \membersection{wxDataViewIndexListModel::RowInserted}\label{wxdataviewindexlistmodelrowinserted} \func{void}{RowInserted}{\param{unsigned int }{before}}