diff --git a/src/msw/statbr95.cpp b/src/msw/statbr95.cpp index f06e0e7c05..d7f26724f6 100644 --- a/src/msw/statbr95.cpp +++ b/src/msw/statbr95.cpp @@ -319,7 +319,7 @@ wxSize wxStatusBar95::DoGetBestSize() const : DEFAULT_FIELD_WIDTH; if ( widthField >= 0 ) { - width += m_statusWidths[i]; + width += widthField; } else {