// Licence: wxWindows licence
///////////////////////////////////////////////////////////////////////////////
+// For compilers that support precompilation, includes "wx.h".
+#include "wx/wxprec.h"
+
// ----------------------------------------------------------------------------
// headers
// ----------------------------------------------------------------------------
#ifndef WX_PRECOMP
#include "wx/dc.h"
+ #include "wx/dcclient.h"
#endif
-#include "wx/dcclient.h"
-
BEGIN_EVENT_TABLE(wxStatusBarMac, wxStatusBarGeneric)
EVT_PAINT(wxStatusBarMac::OnPaint)
END_EVENT_TABLE()
#ifdef __WXMAC__
-#include "wx/mac/private.h"
+ #include "wx/mac/private.h"
#endif
// ============================================================================
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();
}
void wxStatusBarMac::MacSuperEnabled( bool enabled )
{
- Refresh(FALSE) ;
+ Refresh(false) ;
wxWindow::MacSuperEnabled( enabled ) ;
}