]> git.saurik.com Git - wxWidgets.git/blobdiff - src/aui/framemanager.cpp
applying patch, fixes #10524
[wxWidgets.git] / src / aui / framemanager.cpp
index 8a84dea7fdb09ceca5365264a1fcbfc92f9c6b92..af264592a2566dda2eb756c2ea76f19a985a486e 100644 (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();