X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/fd9e9adb1652f7b602a903dc1cc7d2571a3def55..655719367ac5e131d9642e5783f3ecf64d1a3385:/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) {