// have the corresponding style and even then only if we really can
// resize this frame
if ( n == (int)m_panes.GetCount() - 1 &&
- HasFlag(wxST_SIZEGRIP) &&
+ HasFlag(wxSTB_SIZEGRIP) &&
GetParent()->HasFlag(wxRESIZE_BORDER) &&
parentTLW && !parentTLW->IsMaximized() )
{
flags |= wxCONTROL_SIZEGRIP;
}
- m_renderer->DrawStatusField(dc, rect, GetStatusText(n), flags, m_panes[n].nStyle);
+ m_renderer->DrawStatusField(dc, rect, GetStatusText(n), flags, m_panes[n].GetStyle());
}
rect.x += rect.width + borderBetweenFields;
{
for ( field = 0; field < m_panes.GetCount(); field++ )
{
- if ( m_panes[field].nWidth < 0 )
+ if ( m_panes[field].GetWidth() < 0 )
{
// var width field
break;