X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c7074d44198d548dd19e7906b697d019b3c01770..e2d5abbf527ae760cf65467bf94b914ba9974657:/docs/latex/wx/dataviewcolumn.tex diff --git a/docs/latex/wx/dataviewcolumn.tex b/docs/latex/wx/dataviewcolumn.tex index bf8e50e407..a8c6b839fd 100644 --- a/docs/latex/wx/dataviewcolumn.tex +++ b/docs/latex/wx/dataviewcolumn.tex @@ -41,10 +41,9 @@ enum wxDataViewColumnFlags \membersection{wxDataViewColumn::wxDataViewColumn}\label{wxdataviewcolumnwxdataviewcolumn} -\func{}{wxDataViewColumn}{\param{const wxString\& }{title}, \param{wxDataViewRenderer* }{renderer}, \param{unsigned int }{model\_column}, \param{int }{width = 80}, \param{int }{flags = wxDATAVIEW\_COL\_RESIZABLE}} +\func{}{wxDataViewColumn}{\param{const wxString\& }{title}, \param{wxDataViewRenderer* }{renderer}, \param{unsigned int }{model\_column}, \param{int }{width = wxDVC\_DEFAULT\_WIDTH}, \param{wxAlignment }{align = wxALIGN\_CENTRE}, \param{int }{flags = wxDATAVIEW\_COL\_RESIZABLE}} - -\func{}{wxDataViewColumn}{\param{const wxBitmap\& }{bitmap}, \param{wxDataViewRenderer* }{renderer}, \param{unsigned int }{model\_column}, \param{int }{width = 80}, \param{int }{flags = wxDATAVIEW\_COL\_RESIZABLE}} +\func{}{wxDataViewColumn}{\param{const wxBitmap\& }{bitmap}, \param{wxDataViewRenderer* }{renderer}, \param{unsigned int }{model\_column}, \param{int }{width = wxDVC\_DEFAULT\_WIDTH}, \param{wxAlignment }{align = wxALIGN\_CENTRE}, \param{int }{flags = wxDATAVIEW\_COL\_RESIZABLE}} Constructors. @@ -128,9 +127,14 @@ a little arrow. \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. +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}