From: Václav Slavík Date: Fri, 12 Dec 2003 20:41:58 +0000 (+0000) Subject: wxScrolledWindow can have children, too X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/6cc78259af5f54b52b53523e8c9a22ec33a46060 wxScrolledWindow can have children, too git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24791 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/contrib/src/xrc/xh_scrol.cpp b/contrib/src/xrc/xh_scrol.cpp index 653d8ec180..ac99ba1b40 100644 --- a/contrib/src/xrc/xh_scrol.cpp +++ b/contrib/src/xrc/xh_scrol.cpp @@ -49,6 +49,7 @@ wxObject *wxScrollBarXmlHandler::DoCreateResource() GetLong( wxT("pagesize"),1)); SetupWindow(control); + CreateChildren(control); return control; } diff --git a/src/xrc/xh_scrol.cpp b/src/xrc/xh_scrol.cpp index 653d8ec180..ac99ba1b40 100644 --- a/src/xrc/xh_scrol.cpp +++ b/src/xrc/xh_scrol.cpp @@ -49,6 +49,7 @@ wxObject *wxScrollBarXmlHandler::DoCreateResource() GetLong( wxT("pagesize"),1)); SetupWindow(control); + CreateChildren(control); return control; }