fix crash in DoGetBestSize() if default widths are used (corrects patch 1386199 applied in r45202)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52539 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2008-03-15 03:28:49 +00:00
parent 9579c1d7bb
commit e408d9ca82

View File

@ -319,7 +319,7 @@ wxSize wxStatusBar95::DoGetBestSize() const
: DEFAULT_FIELD_WIDTH;
if ( widthField >= 0 )
{
width += m_statusWidths[i];
width += widthField;
}
else
{