document attributes mechanism

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@50041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2007-11-18 11:07:33 +00:00
parent eb1c3db2dd
commit f4647740bb
5 changed files with 113 additions and 7 deletions

View File

@@ -138,6 +138,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}