This would have saved me an hour...
I could not see, however, where in RemoveTab the page is actually hidden.
https://github.com/wxWidgets/wxWidgets/pull/26292
(1 file)
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@DietmarSchwertberger pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Sure, this could be applied, but I'm a bit surprised that notebook is mentioned in Reparent() documentation at all. Maybe it would be better to mention in wxNotebook documentation that
RemovePage() if you want to reparent the window elsewhere.RemovePage() hides it.?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
I think the place is the right one. I found the requirement for RemovePage when looking at Reparent. I would not have searched for RemovePage in the beginning. (It would have been fine for me to have an empty page and being able to remove the window back there when the user selects the now empty page.)
Will add the note to RemovePage.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@DietmarSchwertberger pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
Yes, the hint could be added to the notebook AddPage documentation.
I would suggest not to do this, though. Reparenting is a niche usage and it would rather confuse newcomers.
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
@DietmarSchwertberger pushed 1 commit.
—
View it on GitHub or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.![]()