]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed typo in wxStaticBoxSizer::CalcMin().
authorRobert Roebling <robert@roebling.de>
Fri, 17 Dec 1999 18:32:25 +0000 (18:32 +0000)
committerRobert Roebling <robert@roebling.de>
Fri, 17 Dec 1999 18:32:25 +0000 (18:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5021 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/sizer.cpp

index f1e0c5dd4e351a0fec3ab4f441940ec91619fc20..3dc87d6699bb31ce7ffbe20d05557302d773eebf 100644 (file)
@@ -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;