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:
@@ -3803,8 +3803,9 @@ void wxAuiManager::OnLeftDown(wxMouseEvent& event)
|
|||||||
if (part->type == wxAuiDockUIPart::typeDockSizer ||
|
if (part->type == wxAuiDockUIPart::typeDockSizer ||
|
||||||
part->type == wxAuiDockUIPart::typePaneSizer)
|
part->type == wxAuiDockUIPart::typePaneSizer)
|
||||||
{
|
{
|
||||||
if (part->dock && part->dock->dock_direction == wxAUI_DOCK_CENTER)
|
// Removing this restriction so that a centre pane can be resized
|
||||||
return;
|
//if (part->dock && part->dock->dock_direction == wxAUI_DOCK_CENTER)
|
||||||
|
// return;
|
||||||
|
|
||||||
// a dock may not be resized if it has a single
|
// a dock may not be resized if it has a single
|
||||||
// pane which is not resizable
|
// pane which is not resizable
|
||||||
|
Reference in New Issue
Block a user