]> git.saurik.com Git - wxWidgets.git/commitdiff
allow having children of status bar in XRC (patch 1704125)
authorVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Apr 2007 18:57:50 +0000 (18:57 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Sat, 21 Apr 2007 18:57:50 +0000 (18:57 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45566 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

docs/changes.txt
src/xrc/xh_statbar.cpp

index 3258b885d66dfd062e9755ad5df1c3c428afd6a2..f03013b0c68329d92ad7811e0dce3d080802b33f 100644 (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:
 
index fc701a23f7933e5d54516df636a22f4842dd2bae..c982570deddcf91f983b446124b71f18c2fa157c 100644 (file)
@@ -88,6 +88,8 @@ wxObject *wxStatusBarXmlHandler::DoCreateResource()
         delete [] style;
     }
 
+    CreateChildren(statbar);
+
     if (m_parentAsWindow)
     {
         wxFrame *parentFrame = wxDynamicCast(m_parent, wxFrame);