]> git.saurik.com Git - wxWidgets.git/blobdiff - contrib/src/xrc/xh_scrol.cpp
Updates to MIME-types and wxFileDialog code for better
[wxWidgets.git] / contrib / src / xrc / xh_scrol.cpp
index 8077a491016a09956b2b5f262a2ed70586dbc435..ac99ba1b40046321b7c8c67e821b1b11e49e5321 100644 (file)
@@ -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;
 }