Applied patch [ 675376 ] Improves wxStaticBoxSizer

(uses GetCharHeight() instead of guessing).


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@19072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2003-02-02 14:58:56 +00:00
parent 6f7c5199ed
commit f2b99f6323

View File

@@ -1419,8 +1419,8 @@ static void GetStaticBoxBorders( wxStaticBox *box,
*borderTop = 5;
else
#endif // __WXGTK__
*borderTop = 15;
(void)box;
*borderTop = box->GetCharHeight();
*borderOther = 5;
}