Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hide page removed from wxAuiNotebook #1668

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,14 @@ New and improved in this release:

* Added orientation parameter to UltimateListControl.GetScrollPos. (PR#1632)

* wx.lib.agw.aui..AuiNotebook RemovePage() now hides the removed page, so it
needs to be shown again if it is reused in another place. (PR#1668)

* Fixed issue that could modify `bytes` objects under Python. (PR#1680)




4.1.0 "Escaping the Quarantine"
-------------------------------
* 24-April-2020
Expand Down
2 changes: 2 additions & 0 deletions wx/lib/agw/aui/auibook.py
Original file line number Diff line number Diff line change
Expand Up @@ -3716,6 +3716,8 @@ def RemovePage(self, page_idx):
if not wnd:
return False

wnd.Show(show=False)

# find out which onscreen tab ctrl owns this tab
ctrl, ctrl_idx = self.FindTab(wnd)
if not ctrl:
Expand Down