// Purpose: XRC resource for wxScrolledWindow
// Author: Vaclav Slavik
// Created: 2002/10/18
-// RCS-ID: $Id$
// Copyright: (c) 2002 Vaclav Slavik
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
#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;
}