Removed restriction that multiple centre panes can't be resized

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@48743 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2007-09-17 09:28:28 +00:00
parent b78b6e887e
commit f5dc1b7e49

View 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