X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/21f47fb900438b3e517184eace6b82ab74c2c474..03cf4aa61da039f4331bfc788cc07850a50a0df5:/docs/latex/wx/dataviewctrl.tex diff --git a/docs/latex/wx/dataviewctrl.tex b/docs/latex/wx/dataviewctrl.tex index 21401d5d59..231520519b 100644 --- a/docs/latex/wx/dataviewctrl.tex +++ b/docs/latex/wx/dataviewctrl.tex @@ -46,7 +46,7 @@ macros to direct input to member functions that take a \twocolwidtha{7cm} \begin{twocollist}\itemsep=0pt -\twocolitem{{\bf EVT\_DATAVIEW\_ITEM\_SELECTED(id, func)}}{Processes a wxEVT\_COMMAND\_DATAVIEW\_ITEM\_SELECTED event.} +\twocolitem{{\bf EVT\_DATAVIEW\_SELECTION\_CHANGED(id, func)}}{Processes a wxEVT\_COMMAND\_DATAVIEW\_SELECTION\_CHANGED event.} \twocolitem{{\bf EVT\_DATAVIEW\_ITEM\_ACTIVATED(id, func)}}{Processes a wxEVT\_COMMAND\_DATAVIEW\_ITEM\_ACTIVATED event.} \twocolitem{{\bf EVT\_DATAVIEW\_ITEM\_EDITING\_STARTED(id, func)}}{Processes a wxEVT\_COMMAND\_DATAVIEW\_ITEM\_EDITING\_STARTED event.} \twocolitem{{\bf EVT\_DATAVIEW\_ITEM\_EDITING\_DONE(id, func)}}{Processes a wxEVT\_COMMAND\_DATAVIEW\_ITEM\_EDITING\_DONE event.} @@ -210,19 +210,18 @@ Returns pointer to the column. {\it pos} refers to the position in the control which may change after reordering columns by the user. -\membersection{wxDataViewCtrl::GetModel}\label{wxdataviewctrlgetmodel} - -\constfunc{virtual wxDataViewModel*}{GetModel}{\void} - -Returns pointer to the data model associated with the -control (if any). - \membersection{wxDataViewCtrl::GetColumnCount}\label{wxdataviewctrlgetcolumncount} \constfunc{virtual unsigned int}{GetColumnCount}{\void} Returns the number of columns. +\membersection{wxDataViewCtrl::GetColumnPosition}\label{wxdataviewctrlgetcolumnposition} + +\constfunc{virtual int}{GetColumnPosition}{\param{const wxDataViewColumn* }{column}} + +Returns the position of the column or -1 if not found in the control. + \membersection{wxDataViewCtrl::EnsureVisible}\label{wxdataviewctrlensurevisible} \func{void}{EnsureVisible}{\param{const wxDataViewItem \& }{item}, \param{const wxDataViewColumn* }{column = NULL}} @@ -247,6 +246,13 @@ Returns indentation. Returns item rect. +\membersection{wxDataViewCtrl::GetModel}\label{wxdataviewctrlgetmodel} + +\constfunc{virtual wxDataViewModel*}{GetModel}{\void} + +Returns pointer to the data model associated with the +control (if any). + \membersection{wxDataViewCtrl::GetSelection}\label{wxdataviewctrlgetselection} \constfunc{wxDataViewItem}{GetSelection}{\void}