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
This commit is contained in:
Julian Smart
2007-09-17 09:28:36 +00:00
parent df72db91c4
commit 07c22012ff

View File

@@ -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