X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1ab440bc203fc700744039abdcff12bdd6ac6f0a..00b89a1d1da61a1f842db63b244ad08c0554121c:/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; }