From 1dfe47d0227574a78c4c2bea24c70d39a1405245 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 23 Jul 2011 19:36:47 +0000 Subject: [PATCH] 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 --- interface/wx/bookctrl.h | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2