From: Vadim Zeitlin Date: Sun, 11 Nov 2001 19:52:45 +0000 (+0000) Subject: fixed bug with creating status bar with more than 1 pane (needed resize to refresh) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/27d2cd5c96c9b7e34dd5319321cb6be145f0c751?ds=inline 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 --- diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index d85ba867de..5889081a5f 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -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[])