]> git.saurik.com Git - wxWidgets.git/commit - src/gtk/scrolwin.cpp
Use gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since...
authorRobert Roebling <robert@roebling.de>
Wed, 4 Feb 2009 21:28:00 +0000 (21:28 +0000)
committerRobert Roebling <robert@roebling.de>
Wed, 4 Feb 2009 21:28:00 +0000 (21:28 +0000)
commitff8c74b972eb4305240dd1b240e4fd24f8007028
treea89bc053922ca7ce8d626a666e458fef95d558e6
parente799e8d7d86a7e41fae5bf05e7e7852be3f54c2b
Use gtk_range_set_value() to set scrollbar and do that after SetVirtualSize() since the latter can shrink the legal range and gtk_range_set_value() checks for that. It also sends out a value_changed signal which will scroll the window

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58667 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/gtk/scrolwin.cpp