X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..bcbd69875f4e9149eb22d922f94d99e307fdd280:/src/xrc/xh_scrol.cpp diff --git a/src/xrc/xh_scrol.cpp b/src/xrc/xh_scrol.cpp index 8077a49101..ac99ba1b40 100644 --- a/src/xrc/xh_scrol.cpp +++ b/src/xrc/xh_scrol.cpp @@ -22,6 +22,7 @@ #include "wx/xrc/xh_scrol.h" #include "wx/scrolbar.h" +IMPLEMENT_DYNAMIC_CLASS(wxScrollBarXmlHandler, wxXmlResourceHandler) wxScrollBarXmlHandler::wxScrollBarXmlHandler() : wxXmlResourceHandler() @@ -48,6 +49,7 @@ wxObject *wxScrollBarXmlHandler::DoCreateResource() GetLong( wxT("pagesize"),1)); SetupWindow(control); + CreateChildren(control); return control; }