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