make sure group boxes don't get the big font

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58122 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Stefan Csomor
2009-01-15 20:49:57 +00:00
parent 03d8fb9cac
commit bbd8f8af49
4 changed files with 23 additions and 0 deletions

View File

@@ -65,5 +65,14 @@ void wxStaticBox::GetBordersForSizer(int *borderTop, int *borderOther) const
*borderOther = other;
}
bool wxStaticBox::SetFont(const wxFont& font)
{
bool retval = wxWindowBase::SetFont( font );
// dont' update the native control, it has its own small font
return retval;
}
#endif // wxUSE_STATBOX