From: Vadim Zeitlin Date: Sat, 23 Jul 2011 19:36:47 +0000 (+0000) Subject: Mention that pages can't be added to wxBookCtrl more than once. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/1dfe47d0227574a78c4c2bea24c70d39a1405245 Mention that pages can't be added to wxBookCtrl more than once. 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 --- diff --git a/interface/wx/bookctrl.h b/interface/wx/bookctrl.h index 6fd8c596a0..450cd6d4eb 100644 --- a/interface/wx/bookctrl.h +++ b/interface/wx/bookctrl.h @@ -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