added wxBookCtrl::ChangeSelection() which is the same as SetSelection() but doesn't send the page change events (second part of patch 1553551)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41738 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -404,8 +404,21 @@ 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}{wxnotebookchangeselection} function instead.
|
||||
|
||||
\wxheading{See also}
|
||||
|
||||
\helpref{wxNotebook::GetSelection}{wxnotebookgetselection}
|
||||
|
||||
|
||||
|
||||
\membersection{wxNotebook::ChangeSelection}\label{wxnotebookchangeselection}
|
||||
|
||||
\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}{wxnotebooksetselection}.
|
||||
See \helpref{this topic}{progevent} for more info.
|
||||
|
@@ -271,7 +271,21 @@ 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.
|
||||
|
Reference in New Issue
Block a user