From: Benjamin Williams Date: Thu, 12 Feb 2009 22:46:21 +0000 (+0000) Subject: maximize pane should ignore floating windows (#4066) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/dd17c9c6f1b1e4af805d5f1dc182540362904108 maximize pane should ignore floating windows (#4066) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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();