From defde6bc668aab38d574451a63fb3dbd99c42c61 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 21 Apr 2007 18:57:50 +0000 Subject: [PATCH] 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 --- docs/changes.txt | 9 ++++++++- src/xrc/xh_statbar.cpp | 2 ++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/docs/changes.txt b/docs/changes.txt index 3258b885d6..f03013b0c6 100644 --- a/docs/changes.txt +++ b/docs/changes.txt @@ -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: 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);