From cae31b8b522fb1372acd473f575d7d74cbe11016 Mon Sep 17 00:00:00 2001 From: Robert Roebling Date: Fri, 17 Dec 1999 18:32:25 +0000 Subject: [PATCH] Fixed typo in wxStaticBoxSizer::CalcMin(). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/sizer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;