X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd9e9adb1652f7b602a903dc1cc7d2571a3def55..6fefc28dde1169077f848e63c2ac96fc6769c58e:/src/xrc/xh_statbar.cpp diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index 60e1a894fe..a5e04452ef 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -61,6 +61,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource() statbar->SetFieldsCount(fields, width); delete[] width; } + else + statbar->SetFieldsCount(fields); if (m_parentAsWindow) {