X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e53b3d16de127872e39bf276f7e616b32f161645..79b7701c0bc547dc4b579258c7116700e5925162:/src/osx/statbox_osx.cpp?ds=sidebyside diff --git a/src/osx/statbox_osx.cpp b/src/osx/statbox_osx.cpp index 2b7b57ee08..11ecc527bd 100644 --- a/src/osx/statbox_osx.cpp +++ b/src/osx/statbox_osx.cpp @@ -32,7 +32,7 @@ bool wxStaticBox::Create( wxWindow *parent, return false; m_labelOrig = m_label = label; - + m_peer = wxWidgetImpl::CreateGroupBox( this, parent, id, label, pos, size, style, GetExtraStyle() ); MacPostControlCreate( pos, size ); @@ -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