From 74cccdb8dc9d728c63a3d4e0ca04b5dcb72fe954 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Fri, 29 Mar 2013 19:53:18 +0000 Subject: [PATCH] Minor documentation corrections in wxBookCtrlBase. Use the correct preposition in "set selection to the given page". See #15125. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73735 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/bookctrl.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/interface/wx/bookctrl.h b/interface/wx/bookctrl.h index 17b6920..27f2416 100644 --- a/interface/wx/bookctrl.h +++ b/interface/wx/bookctrl.h @@ -167,7 +167,7 @@ public: wxWindow* GetCurrentPage() const; /** - Sets the selection for the given page, returning the previous selection. + Sets the selection to the given page, returning the previous selection. Notice that the call to this function generates the page changing events, use the ChangeSelection() function if you don't want these @@ -184,7 +184,7 @@ public: void AdvanceSelection(bool forward = true); /** - Changes the selection for the given page, returning the previous selection. + Changes the selection to the given page, returning the previous selection. This function behaves as SetSelection() but does @em not generate the page changing events. -- 2.7.4