]> git.saurik.com Git - wxWidgets.git/commitdiff
Minor documentation corrections in wxBookCtrlBase.
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Mar 2013 19:53:18 +0000 (19:53 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 29 Mar 2013 19:53:18 +0000 (19:53 +0000)
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

index 17b6920b8f27ee50517c2b744f07235ee7b6a04e..27f241600f8fcffd602fa35030ed78267d568148 100644 (file)
@@ -167,7 +167,7 @@ public:
     wxWindow* GetCurrentPage() const;
 
     /**
     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
 
         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);
 
     /**
     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.
 
         This function behaves as SetSelection() but does @em not generate the
         page changing events.