fixed bug with creating status bar with more than 1 pane (needed resize to refresh)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12381 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2001-11-11 19:52:45 +00:00
parent c8b204e6fd
commit 27d2cd5c96

View File

@ -128,6 +128,8 @@ void wxStatusBar95::SetFieldsCount(int nFields, const int *widths)
wxASSERT_MSG( (nFields > 0) && (nFields < 255), _T("too many fields") );
wxStatusBarBase::SetFieldsCount(nFields, widths);
SetFieldsWidth();
}
void wxStatusBar95::SetStatusWidths(int n, const int widths[])