diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index f1e0c5dd4e..3dc87d6699 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -570,7 +570,7 @@ wxSize wxStaticBoxSizer::CalcMin() int other_border = 5; wxSize ret( wxBoxSizer::CalcMin() ); - ret.x += 2*top_border; + ret.x += 2*other_border; ret.y += other_border + top_border; return ret;