From 07c22012ffe9ff1a8bf5ad078b68004e89840935 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 17 Sep 2007 09:28:36 +0000 Subject: [PATCH] Removed restriction that multiple centre panes can't be resized git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@48744 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/aui/framemanager.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/aui/framemanager.cpp b/src/aui/framemanager.cpp index 603bfa9212..c94b7db92e 100644 --- a/src/aui/framemanager.cpp +++ b/src/aui/framemanager.cpp @@ -3803,8 +3803,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