diff --git a/CHANGES.rst b/CHANGES.rst index 81129fe5..fa869f81 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -126,6 +126,9 @@ Changes in this release include the following: * Updated SIP to version 4.19.13. +* Fix an issue in wx.lib.agw.aui.AuiManager where the orientation of + an AuiToolBar would not be updated when calling LoadPerspective. + diff --git a/wx/lib/agw/aui/framemanager.py b/wx/lib/agw/aui/framemanager.py index 4ff45a89..e17a44d8 100644 --- a/wx/lib/agw/aui/framemanager.py +++ b/wx/lib/agw/aui/framemanager.py @@ -6530,7 +6530,7 @@ class AuiManager(wx.EvtHandler): else: if p.IsToolbar(): -# self.SwitchToolBarOrientation(p) + self.SwitchToolBarOrientation(p) p.best_size = p.window.GetBestSize() if p.window and not p.IsNotebookPage() and p.window.IsShown() != p.IsShown():