X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d1e660b50aaf5f0caa72b06be0b09840e8f5b56b..302511a3ca8d831ee26c7dfc47c928e8fed8fef6:/docs/latex/wx/dataviewmodel.tex diff --git a/docs/latex/wx/dataviewmodel.tex b/docs/latex/wx/dataviewmodel.tex index 53f09e3b10..c14c20776c 100644 --- a/docs/latex/wx/dataviewmodel.tex +++ b/docs/latex/wx/dataviewmodel.tex @@ -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} @@ -138,6 +139,16 @@ Override this for a different sorting behaviour. See also \helpref{HasDefaultCompare}{wxdataviewmodelhasdefaultcompare}. +\membersection{wxDataViewModel::GetAttr}\label{wxdataviewmodelgetattr} + +\func{bool}{GetAttr}{\param{const wxDataViewItem\& }{item}, \param{unsigned int }{col}, \param{wxDataViewItemAttr\& }{attr}} + +Oberride this to indicate that the item has special font attributes. +This only affects the +\helpref{wxDataViewTextRendererText}{wxdataviewtextrendererattr} renderer. + +See also \helpref{wxDataViewItemAttr}{wxdataviewitemattr}. + \membersection{wxDataViewModel::GetColumnCount}\label{wxdataviewmodelgetcolumncount} \constfunc{virtual unsigned int}{GetColumnCount}{\void}