mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-06 20:10:08 +01:00
Hide page removed from wxAuiNotebook
It doesn't make sense to leave the page shown, and overlapping the
remaining pages, after removing it.
see acff8466a7
This commit is contained in:
@@ -40,7 +40,8 @@ New and improved in this release:
|
||||
|
||||
* Added orientation parameter to UltimateListControl.GetScrollPos. (PR#1632)
|
||||
|
||||
|
||||
* wx.AuiNotebook RemovePage() now hides the removed page, so it needs to be
|
||||
shown again if it is reused in another place. (PR#1668)
|
||||
|
||||
|
||||
4.1.0 "Escaping the Quarantine"
|
||||
|
||||
@@ -3714,6 +3714,8 @@ class AuiNotebook(wx.Panel):
|
||||
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:
|
||||
|
||||
Reference in New Issue
Block a user