Properly account for floated panes while restoring maximized pane.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66796 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
db2c04684d
commit
be4980ab43
@ -1362,7 +1362,7 @@ void wxAuiManager::RestorePane(wxAuiPaneInfo& pane_info)
|
||||
for (i = 0, pane_count = m_panes.GetCount(); i < pane_count; ++i)
|
||||
{
|
||||
wxAuiPaneInfo& p = m_panes.Item(i);
|
||||
if (!p.IsToolbar())
|
||||
if (!p.IsToolbar() && !p.IsFloating())
|
||||
{
|
||||
p.SetFlag(wxAuiPaneInfo::optionHidden,
|
||||
p.HasFlag(wxAuiPaneInfo::savedHiddenState));
|
||||
|
Loading…
Reference in New Issue
Block a user