X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8ab505498d90cbedb2095d71f7a084d54300aba8..30a936ee4eb950b4b1905b6bd09c90d3ec39fa99:/src/mac/carbon/statbrma.cpp 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 ; }