// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "statbrma.h"
#endif
// headers
// ----------------------------------------------------------------------------
+#include "wx/wxprec.h"
+
#include "wx/statusbr.h"
#include "wx/dc.h"
#include "wx/dcclient.h"
#ifdef __WXMAC__
#include "wx/mac/private.h"
+#include "wx/toplevel.h"
#endif
// ============================================================================
if ( parent->MacGetTopLevelWindow()->MacGetMetalAppearance() )
MacSetBackgroundBrush( wxNullBrush ) ;
+ // normal system font is too tall for fitting into the standard height
+ SetWindowVariant( wxWINDOW_VARIANT_SMALL ) ;
+
return TRUE ;
}
wxCHECK_RET( (number >= 0) && (number < m_nFields),
_T("invalid status bar field index") );
+ if ( m_statusStrings[number] == text )
+ return ;
+
m_statusStrings[number] = text;
wxRect rect;
GetFieldRect(number, rect);