X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b5f62a0b2db198609b45dec622a018dae37008e..2d1d813e2dc392d2480a2dc9cdf61ce6330db72d:/contrib/src/xrc/xh_scwin.cpp?ds=inline 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; }