]> git.saurik.com Git - wxWidgets.git/commitdiff
Removed restriction that multiple centre panes can't be resized
authorJulian Smart <julian@anthemion.co.uk>
Mon, 17 Sep 2007 09:28:28 +0000 (09:28 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 17 Sep 2007 09:28:28 +0000 (09:28 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/aui/framemanager.cpp

index 664c02947df46226d27105edcd0f56492e2102d7..ef5bf328f9fd364e033275cdac5f702b508bf425 100644 (file)
@@ -3792,8 +3792,9 @@ void wxAuiManager::OnLeftDown(wxMouseEvent& event)
         if (part->type == wxAuiDockUIPart::typeDockSizer ||
             part->type == wxAuiDockUIPart::typePaneSizer)
         {
-            if (part->dock && part->dock->dock_direction == wxAUI_DOCK_CENTER)
-                return;
+            // Removing this restriction so that a centre pane can be resized
+            //if (part->dock && part->dock->dock_direction == wxAUI_DOCK_CENTER)
+            //    return;
 
             // a dock may not be resized if it has a single
             // pane which is not resizable