git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40128
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
- // our minimal acceptable size is such that all our visible child windows fit inside
+ // our minimal acceptable size is such that all our visible child
+ // windows fit inside
node = node->GetNext() )
{
wxWindow *win = node->GetData();
node = node->GetNext() )
{
wxWindow *win = node->GetData();
- if ( win->IsTopLevel() || ( ! win->IsShown() )
+ if ( win->IsTopLevel()
+ || !win->IsShown()
- || wxDynamicCast(win, wxStatusBar)
+ || wxDynamicCast(win, wxStatusBar)
#endif // wxUSE_STATUSBAR
)
{
#endif // wxUSE_STATUSBAR
)
{
- // for compatibility with the old versions and because it really looks
- // slightly more pretty like this, add a pad
- maxX += 7;
- maxY += 14;
-
best = wxSize(maxX, maxY);
}
else // ! has children
best = wxSize(maxX, maxY);
}
else // ! has children