#if wxUSE_STATUSBAR
#ifndef WX_PRECOMP
+ #include "wx/settings.h"
+ #include "wx/dcclient.h"
#endif
#include "wx/statusbr.h"
wxRect wxStatusBarUniv::GetTotalFieldRect(wxCoord *borderBetweenFields)
{
- // determine the space we have for the fields
- wxSize sizeBorders = m_renderer->GetStatusBarBorders(borderBetweenFields);
-
wxRect rect = GetClientRect();
// no, don't do this - the borders are meant to be inside this rect
+ // wxSize sizeBorders =
+ m_renderer->GetStatusBarBorders(borderBetweenFields);
//rect.Deflate(sizeBorders.x, sizeBorders.y);
// recalc the field widths if needed