Set fields count even if don't have widthds
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@27339 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -61,6 +61,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
|
|||||||
statbar->SetFieldsCount(fields, width);
|
statbar->SetFieldsCount(fields, width);
|
||||||
delete[] width;
|
delete[] width;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
statbar->SetFieldsCount(fields);
|
||||||
|
|
||||||
if (m_parentAsWindow)
|
if (m_parentAsWindow)
|
||||||
{
|
{
|
||||||
|
@@ -61,6 +61,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
|
|||||||
statbar->SetFieldsCount(fields, width);
|
statbar->SetFieldsCount(fields, width);
|
||||||
delete[] width;
|
delete[] width;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
statbar->SetFieldsCount(fields);
|
||||||
|
|
||||||
if (m_parentAsWindow)
|
if (m_parentAsWindow)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user