X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..51d78461fa34267925e31291e2371390611d0d0e:/src/xrc/xh_scrol.cpp?ds=sidebyside 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; }