summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
54195d2)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71007
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
// Choose row count with largest possible area
wxSize size = parentSize;
// Choose row count with largest possible area
wxSize size = parentSize;
- int row_count = m_nrows_max;
wxOrientation major_axis = m_art->GetFlags() & wxRIBBON_BAR_FLOW_VERTICAL ?
wxVERTICAL : wxHORIZONTAL;
wxOrientation major_axis = m_art->GetFlags() & wxRIBBON_BAR_FLOW_VERTICAL ?
wxVERTICAL : wxHORIZONTAL;
GetSizeInOrientation(m_sizes[i], major_axis) > area)
{
area = GetSizeInOrientation(m_sizes[i], major_axis);
GetSizeInOrientation(m_sizes[i], major_axis) > area)
{
area = GetSizeInOrientation(m_sizes[i], major_axis);
- row_count = m_nrows_min + i;
bestSize = m_sizes[i];
}
}
bestSize = m_sizes[i];
}
}