touched up close button

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@43156 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Benjamin Williams
2006-11-07 10:59:46 +00:00
parent 33b44441ef
commit 8896cb72d2
3 changed files with 13 additions and 16 deletions

View File

@@ -1542,6 +1542,13 @@ void wxAuiManager::LayoutAddPane(wxSizer* cont,
part.sizer_item = sizer_item;
uiparts.Add(part);
}
// if we have buttons, add a little space to the right
// of them to ease visual crowding
if (button_count >= 1)
{
caption_sizer->Add(3,1);
}
// add the caption sizer
sizer_item = vert_pane_sizer->Add(caption_sizer, 0, wxEXPAND);