]> git.saurik.com Git - wxWidgets.git/commitdiff
maximize pane should ignore floating windows (#4066)
authorBenjamin Williams <bwilliams@kirix.com>
Thu, 12 Feb 2009 22:46:21 +0000 (22:46 +0000)
committerBenjamin Williams <bwilliams@kirix.com>
Thu, 12 Feb 2009 22:46:21 +0000 (22:46 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58853 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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