Set fields count even if don't have widths

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@27340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2004-05-18 16:08:21 +00:00
parent 931233d225
commit f63f85d599
2 changed files with 4 additions and 0 deletions

View File

@@ -59,6 +59,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
statbar->SetFieldsCount(fields, width);
delete[] width;
}
else
statbar->SetFieldsCount(fields);
if (m_parentAsWindow)
{

View File

@@ -59,6 +59,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
statbar->SetFieldsCount(fields, width);
delete[] width;
}
else
statbar->SetFieldsCount(fields);
if (m_parentAsWindow)
{