]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_statbar.cpp
Use old licence name
[wxWidgets.git] / src / xrc / xh_statbar.cpp
index 60e1a894fef76591fbb44633c56d6f802b00212f..a5e04452efcf9e60f89b120914d44b58f740c0df 100644 (file)
@@ -61,6 +61,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
         statbar->SetFieldsCount(fields, width);
         delete[] width;
     }
+    else
+        statbar->SetFieldsCount(fields);
 
     if (m_parentAsWindow)
     {