]> git.saurik.com Git - wxWidgets.git/blobdiff - src/xrc/xh_scrol.cpp
Changed WidthDefault() and HeightDefault() to use 400,250. If there
[wxWidgets.git] / 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;
 }