X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ab505498d90cbedb2095d71f7a084d54300aba8..b3231f0aaf369e384d41b2e5890b75a3e26f3fea:/src/mac/carbon/statbrma.cpp?ds=inline diff --git a/src/mac/carbon/statbrma.cpp b/src/mac/carbon/statbrma.cpp index 84a303d552..094c4a081d 100644 --- a/src/mac/carbon/statbrma.cpp +++ b/src/mac/carbon/statbrma.cpp @@ -27,6 +27,7 @@ END_EVENT_TABLE() #ifdef __WXMAC__ #include "wx/mac/private.h" +#include "wx/toplevel.h" #endif // ============================================================================ @@ -56,6 +57,9 @@ bool wxStatusBarMac::Create(wxWindow *parent, wxWindowID id, if ( parent->MacGetTopLevelWindow()->MacGetMetalAppearance() ) MacSetBackgroundBrush( wxNullBrush ) ; + // normal system font is too tall for fitting into the standard height + SetWindowVariant( wxWINDOW_VARIANT_SMALL ) ; + return TRUE ; }