#ifndef WX_PRECOMP
#include "wx/frame.h"
+ #include "wx/scrolwin.h"
#endif
-#include "wx/scrolwin.h"
-
IMPLEMENT_DYNAMIC_CLASS(wxScrolledWindowXmlHandler, wxXmlResourceHandler)
wxScrolledWindowXmlHandler::wxScrolledWindowXmlHandler()
SetupWindow(control);
CreateChildren(control);
+ if ( HasParam(wxT("scrollrate")) )
+ {
+ wxSize rate = GetSize(wxT("scrollrate"));
+ control->SetScrollRate(rate.x, rate.y);
+ }
+
return control;
}