diff --git a/src/common/sizer.cpp b/src/common/sizer.cpp index dfe492531d..9e430cdb84 100644 --- a/src/common/sizer.cpp +++ b/src/common/sizer.cpp @@ -1419,8 +1419,8 @@ static void GetStaticBoxBorders( wxStaticBox *box, *borderTop = 5; else #endif // __WXGTK__ - *borderTop = 15; - (void)box; + *borderTop = box->GetCharHeight(); + *borderOther = 5; }