allow having children of status bar in XRC (patch 1704125)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2007-04-21 18:57:50 +00:00
parent 806ad81958
commit defde6bc66
2 changed files with 10 additions and 1 deletions

View File

@@ -88,6 +88,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
delete [] style;
}
CreateChildren(statbar);
if (m_parentAsWindow)
{
wxFrame *parentFrame = wxDynamicCast(m_parent, wxFrame);