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

@ -140,10 +140,17 @@ wxX11:
2.8.4
-----
All:
- Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem)
All (Unix):
- Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse)
- Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem)
All (GUI):
- Allow status bar children in XRC (Edmunt Pienkowski)
wxMSW:

View File

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