X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b2beaece19cf7b812d7ca9c253bf7f5190494517..b86c4f960e2905201b1d3a745c0736289b1caec5:/src/xrc/xh_scwin.cpp diff --git a/src/xrc/xh_scwin.cpp b/src/xrc/xh_scwin.cpp index 156a3c970b..78b70ce059 100644 --- a/src/xrc/xh_scwin.cpp +++ b/src/xrc/xh_scwin.cpp @@ -55,6 +55,12 @@ wxObject *wxScrolledWindowXmlHandler::DoCreateResource() SetupWindow(control); CreateChildren(control); + if ( HasParam(wxT("scrollrate")) ) + { + wxSize rate = GetSize(wxT("scrollrate")); + control->SetScrollRate(rate.x, rate.y); + } + return control; }