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:
@@ -319,7 +319,7 @@ wxSize wxStatusBar95::DoGetBestSize() const
|
|||||||
: DEFAULT_FIELD_WIDTH;
|
: DEFAULT_FIELD_WIDTH;
|
||||||
if ( widthField >= 0 )
|
if ( widthField >= 0 )
|
||||||
{
|
{
|
||||||
width += m_statusWidths[i];
|
width += widthField;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user