diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 8a84dea7fd..af264592a2 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -1281,7 +1281,7 @@ void wxAuiManager::MaximizePane(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.Restore();