X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d5371c60ba0cc628b00f11ff5c5f2c804a82858..b5f0ae57a43383821c418ba17275ae26d78f62c2:/docs/latex/wx/treebook.tex diff --git a/docs/latex/wx/treebook.tex b/docs/latex/wx/treebook.tex index 426c402e4d..788cefa385 100644 --- a/docs/latex/wx/treebook.tex +++ b/docs/latex/wx/treebook.tex @@ -271,7 +271,22 @@ Sets the selection for the given page, returning the previous selection. The call to this function generates the page changing events. +This function is deprecated and should not be used in new code. Please use the +\helpref{ChangeSelection}{wxtreebookchangeselection} function instead. + \wxheading{See also} \helpref{wxTreebook::GetSelection}{wxtreebookgetselection} + + +\membersection{wxTreebook::ChangeSelection}\label{wxtreebookchangeselection} + +\func{int}{ChangeSelection}{\param{size\_t}{ page}} + +Changes the selection for the given page, returning the previous selection. + +The call to this function \emph{does not} generate the page changing events. +This is the only difference with \helpref{SetSelection}{wxtreebooksetselection}. +See \helpref{this topic}{progevent} for more info. +