X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed4b0fdca60e017afe72c55940799ce0fed925f0..fe8635a7e78715344f0f4b6abc9d797931429333:/src/mac/classic/statbrma.cpp diff --git a/src/mac/classic/statbrma.cpp b/src/mac/classic/statbrma.cpp index f2a36929af..5bb50e0518 100644 --- a/src/mac/classic/statbrma.cpp +++ b/src/mac/classic/statbrma.cpp @@ -9,6 +9,9 @@ // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// +// For compilers that support precompilation, includes "wx.h". +#include "wx/wxprec.h" + // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -88,14 +91,14 @@ void wxStatusBarMac::DrawField(wxDC& dc, int i) void wxStatusBarMac::SetStatusText(const wxString& text, int number) { wxCHECK_RET( (number >= 0) && (number < m_nFields), - _T("invalid status bar field index") ); + _T("invalid status bar field index") ); m_statusStrings[number] = text; wxRect rect; GetFieldRect(number, rect); rect.y=0; rect.height = m_height ; - Refresh( TRUE , &rect ) ; + Refresh( true , &rect ) ; Update(); } @@ -149,6 +152,6 @@ void wxStatusBarMac::OnPaint(wxPaintEvent& WXUNUSED(event) ) void wxStatusBarMac::MacSuperEnabled( bool enabled ) { - Refresh(FALSE) ; + Refresh(false) ; wxWindow::MacSuperEnabled( enabled ) ; }