X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0cd159592e4d9c979aa5a626627cdd9158fcc34f..85284ca4b226d9a1ab6bed26c5eaa480543649d5:/src/univ/statusbr.cpp diff --git a/src/univ/statusbr.cpp b/src/univ/statusbr.cpp index 6b70e2e7f6..0acfa84277 100644 --- a/src/univ/statusbr.cpp +++ b/src/univ/statusbr.cpp @@ -127,14 +127,14 @@ void wxStatusBarUniv::DoDraw(wxControlRenderer *renderer) // 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; @@ -207,7 +207,7 @@ void wxStatusBarUniv::OnSize(wxSizeEvent& event) { for ( field = 0; field < m_panes.GetCount(); field++ ) { - if ( m_panes[field].nWidth < 0 ) + if ( m_panes[field].GetWidth() < 0 ) { // var width field break;