X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/544fee32eeac1a4f6ca3e0c7c1b13ee24f1d1c1c..1d529ef7eed851db9d007821decb9639e4e7fc16:/contrib/src/xrc/xh_scrol.cpp diff --git a/contrib/src/xrc/xh_scrol.cpp b/contrib/src/xrc/xh_scrol.cpp index 8077a49101..ac99ba1b40 100644 --- a/contrib/src/xrc/xh_scrol.cpp +++ b/contrib/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; }