// headers
// ----------------------------------------------------------------------------
-#ifdef __GNUG__
+#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
#pragma implementation "univstatusbr.h"
#endif
}
SetFieldsCount(1);
-
+
CreateInputHandler(wxINP_HANDLER_STATUSBAR);
SetSize(DoGetBestSize());
flags |= wxCONTROL_ISDEFAULT;
}
- m_renderer->DrawStatusField(dc, rect, m_statusText[n], flags);
+ int style;
+ if (m_statusStyles)
+ style = m_statusStyles[n];
+ else
+ style = wxSB_NORMAL;
+ m_renderer->DrawStatusField(dc, rect, m_statusText[n], flags, style);
}
rect.x += rect.width + borderBetweenFields;