X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/809e21b540b2daa3e61b59ea9b8efc4df358aa8c..6bb29886cbf4057a9a50073eb948bc9aec904756:/docs/latex/wx/dataviewcolumn.tex diff --git a/docs/latex/wx/dataviewcolumn.tex b/docs/latex/wx/dataviewcolumn.tex index 79abe67545..ef2dd7c0d7 100644 --- a/docs/latex/wx/dataviewcolumn.tex +++ b/docs/latex/wx/dataviewcolumn.tex @@ -11,7 +11,7 @@ this class to render its data. \wxheading{Constants} -These flags define behavi +These flags define behaviour of the column: {\small \begin{verbatim} @@ -122,19 +122,20 @@ Set the bitmap of the column header. Indicate the sort order if the implementation of the wxDataViewCtrl supports it, most commonly by showing -a little arrow. Use this in conjunction with -\helpref{wxDataViewSortedListModel::SetAscending}{wxdataviewsortedlistmodelsetascending} -to sort the actual data. +a little arrow. \membersection{wxDataViewColumn::SetSortable}\label{wxdataviewcolumnsetsortable} \func{void}{SetSortable}{\param{bool }{sortable}} -Indicate that the column is sortable. This is only to provide a -visual hint in the column (such as a sort order indicator). It -will not actually sort the data. Use a -\helpref{wxDataViewSortedListModel}{wxdataviewsortedlistmodel} -to so the sorting. +Indicate that the column is sortable. This does +not show any sorting indicate yet, but it does +make the column header clickable. Call +\helpref{SetSortOrder}{wxdataviewcolumnsetsortorder} +afterwards to actually make the sort indicator appear. +If {\it sortable} is false, the column header is +no longer clickable and the sort indicator (little +arrow) will disappear. \membersection{wxDataViewColumn::SetTitle}\label{wxdataviewcolumnsettitle}