X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9d5371c60ba0cc628b00f11ff5c5f2c804a82858..245b9db51823e59bd61f0d7c0c69b419495cf0b7:/docs/latex/wx/treebook.tex?ds=sidebyside diff --git a/docs/latex/wx/treebook.tex b/docs/latex/wx/treebook.tex index 426c402e4d..b4f22c9c05 100644 --- a/docs/latex/wx/treebook.tex +++ b/docs/latex/wx/treebook.tex @@ -30,7 +30,7 @@ by adding at every step a page or a subpage to the end of the tree. \wxheading{Derived from} -wxBookCtrlBase\\ +wxBookCtrlBase (see \helpref{wxBookCtrl overview}{wxbookctrloverview})\\ \helpref{wxControl}{wxcontrol}\\ \helpref{wxWindow}{wxwindow}\\ \helpref{wxEvtHandler}{wxevthandler}\\ @@ -41,6 +41,10 @@ wxBookCtrlBase\\ +\wxheading{Library} + +\helpref{wxCore}{librarieslist} + \input treebookevt.inc @@ -271,7 +275,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. +