Applied patch [ 675376 ] Improves wxStaticBoxSizer

(uses GetCharHeight() instead of guessing).


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

View File

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