git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@63818
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if(client_offset)
*client_offset = wxPoint(3, label_height + 2);
}
+ if (size.x < 0) size.x = 0;
+ if (size.y < 0) size.y = 0;
return size;
}
else
*client_offset = wxPoint(3, 2);
}
+ if (size.x < 0) size.x = 0;
+ if (size.y < 0) size.y = 0;
return size;
}
minor_axis_size = GetSize().GetWidth() - origin.x - m_art->GetMetric(wxRIBBON_ART_PAGE_BORDER_RIGHT_SIZE);
available_space = m_size_in_major_axis_for_children - m_art->GetMetric(wxRIBBON_ART_PAGE_BORDER_BOTTOM_SIZE) - origin.y;
}
+ if (minor_axis_size < 0) minor_axis_size = 0;
size_t size_index;
for(size_index = 0; size_index < m_size_calc_array_size; ++size_index)
{