From e9ef27252d332b1eebe10ede866312bb3af101f9 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 21 Apr 2007 23:24:42 +0000 Subject: [PATCH] allow having children of status bar in XRC (patch 1704125) [backport from HEAD] git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@45572 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- docs/changes.txt | 11 +++++++++-- src/xrc/xh_statbar.cpp | 2 ++ 2 files changed, 11 insertions(+), 2 deletions(-) diff --git a/docs/changes.txt b/docs/changes.txt index 9d1f434676..4810012c3f 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -91,13 +91,20 @@ Major new features in 2.8 release 2.8.4 ----- -All (Unix): +All: -- Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse) - Fix bug in wxFileConfig when recreating a group (Steven Van Ingelgem) - Added wxString::char_str() and wchar_str() methods for forward compatiblity with wxWidgets 3 +All (Unix): + +- Handle socket shutdown by the peer correctly in wxSocket (Tim Kosse) + +All (GUI): + +- Allow status bar children in XRC (Edmunt Pienkowski) + wxMSW: - Corrected wxStaticBox label appearance when its foreground colour was set: diff --git a/src/xrc/xh_statbar.cpp b/src/xrc/xh_statbar.cpp index fc701a23f7..c982570ded 100644 --- a/src/xrc/xh_statbar.cpp +++ b/src/xrc/xh_statbar.cpp @@ -88,6 +88,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource() delete [] style; } + CreateChildren(statbar); + if (m_parentAsWindow) { wxFrame *parentFrame = wxDynamicCast(m_parent, wxFrame);