]> git.saurik.com Git - wxWidgets.git/commitdiff
Mention that pages can't be added to wxBookCtrl more than once.
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 19:36:47 +0000 (19:36 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 23 Jul 2011 19:36:47 +0000 (19:36 +0000)
Apparently some people expect this to work although it's really not meant to.

See #13209.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68345 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

interface/wx/bookctrl.h

index 6fd8c596a0e14e4f33f15bf02bfa85c0683bb2d8..450cd6d4eb2467769a7e8be8e955fa8d08b39470 100644 (file)
@@ -221,6 +221,10 @@ public:
 
     /**
         Adds a new page.
+
+        The page must have the book control itself as the parent and must not
+        have been added to this control previously.
+
         The call to this function may generate the page changing events.
 
         @param page