diff --git a/src/mac/carbon/stattext.cpp b/src/mac/carbon/stattext.cpp index 93998884fd..f21e1a9ee8 100644 --- a/src/mac/carbon/stattext.cpp +++ b/src/mac/carbon/stattext.cpp @@ -95,7 +95,7 @@ void wxStaticText::SetLabel(const wxString& st ) InvalidateBestSize(); SetSize( GetBestSize() ) ; } - + Refresh() ; Update() ; } @@ -106,10 +106,10 @@ bool wxStaticText::SetFont(const wxFont& font) if ( ret ) { if ( !(GetWindowStyle() & wxST_NO_AUTORESIZE) ) - { - InvalidateBestSize(); - SetSize( GetBestSize() ); - } + { + InvalidateBestSize(); + SetSize( GetBestSize() ); + } } return ret;