From ea42194f18772b1c9826df773fbf2a2a0cb8cf4f Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 7 Dec 2024 18:09:30 +0100 Subject: [PATCH] Document incompatible change to wxAuiNotebook page indices Advise to use GetPagePosition() if the physical/visual position and not the logical index is really needed. --- docs/changes.txt | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/changes.txt b/docs/changes.txt index 21dc79d48d..c33c52f58c 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -117,6 +117,12 @@ Changes in behaviour not resulting in compilation errors under all platforms instead of behaving as SetValue() under MSW and doing nothing elsewhere. +- The meaning of page index in wxAuiNotebook has changed if the pages have + been reordered (see wxAUI_NB_TAB_MOVE) and now always refers to the page + logical index, which is not affected by reordering. To get the position of + the page on screen, which doesn't make sense without reference to the tab + control containing it, use GetPagePosition() to retrieve both of them. + Changes in behaviour which may result in build errors -----------------------------------------------------