X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..6258e418a07e8edda218c27aade9e522deaeaf74:/contrib/src/xrc/xh_scwin.cpp diff --git a/contrib/src/xrc/xh_scwin.cpp b/contrib/src/xrc/xh_scwin.cpp index 9aedfefe57..2ac6d4face 100644 --- a/contrib/src/xrc/xh_scwin.cpp +++ b/contrib/src/xrc/xh_scwin.cpp @@ -22,6 +22,7 @@ #include "wx/xrc/xh_scwin.h" #include "wx/scrolwin.h" +IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler) wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler() : wxXmlResourceHandler() @@ -42,6 +43,7 @@ wxObject *wxScrolledWindowXmlHandler::DoCreateResource() GetName()); SetupWindow(control); + CreateChildren(control); return control; }