From 013b02092f3ee5aedcb5b8e9292bb309c58e2f39 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 9 Jul 2011 23:37:09 +0000 Subject: [PATCH] Mention that wxNotebook page must be removed before reparenting it. At least in wxGTK it is necessary to remove the page from the notebook first as reparenting it doesn't work otherwise currently. This should ideally be fixed but in the meanwhile at least document it. See #13305. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@68214 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- interface/wx/window.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/wx/window.h b/interface/wx/window.h index 6a13cadcfd..2bc1c680b7 100644 --- a/interface/wx/window.h +++ b/interface/wx/window.h @@ -495,6 +495,9 @@ public: current parent window (e.g. a non-standard toolbar in a wxFrame) and then re-inserted into another. + Notice that currently you need to explicitly call + wxNotebook::RemovePage() before reparenting a notebook page. + @param newParent New parent. */ -- 2.47.2