projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
better variant support, fixes #11114
[wxWidgets.git]
/
src
/
xrc
/
xh_scwin.cpp
diff --git
a/src/xrc/xh_scwin.cpp
b/src/xrc/xh_scwin.cpp
index 156a3c970be6f1eb72513cf010d061e84535f6d5..78b70ce059f34c45250bbbc0bb4cb5e2416859b4 100644
(file)
--- 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;
}