git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@28873
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxStatusBarBase::SetFieldsCount(number, widths);
wxStatusBarBase::SetFieldsCount(number, widths);
+ // forget the old cached pixel widths
+ m_widthsAbs.Empty();
+
wxASSERT_MSG( m_nFields == (int)m_statusStrings.GetCount(),
_T("This really should never happen, can we do away with m_nFields here?") );
}
wxASSERT_MSG( m_nFields == (int)m_statusStrings.GetCount(),
_T("This really should never happen, can we do away with m_nFields here?") );
}