maximize pane should ignore floating windows (#4066)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams 2009-02-12 22:46:21 +00:00
parent 77d827708d
commit dd17c9c6f1

View File

@ -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();