Fixed a bug whereby setting one element size set all element sizes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60162 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart 2009-04-15 09:40:36 +00:00
parent 7ce58684a4
commit 85ec29bc58

View File

@ -728,9 +728,9 @@ void wxAuiDefaultToolBarArt::SetElementSize(int element_id, int size)
{
switch (element_id)
{
case wxAUI_TBART_SEPARATOR_SIZE: m_separator_size = size;
case wxAUI_TBART_GRIPPER_SIZE: m_gripper_size = size;
case wxAUI_TBART_OVERFLOW_SIZE: m_overflow_size = size;
case wxAUI_TBART_SEPARATOR_SIZE: m_separator_size = size; break;
case wxAUI_TBART_GRIPPER_SIZE: m_gripper_size = size; break;
case wxAUI_TBART_OVERFLOW_SIZE: m_overflow_size = size; break;
}
}