SetScrollbars Causing additional LINEDOWN event
|Reported by:||sjnc.puzzle||Owned by:||pcor|
I am running on Linux using the latest SVN level. This did not happen with the 2.9.1 download level.
In the attached small example a wxTreeCtrl is created. I have an Scroll menu where you can select down or up. If you select down, you will see that the tree is scrolled down twice. You can see this from the log screen if you scrooll a second time. Once for the SetScrollbars() that I call as a result of them menu. And then it appears the SetScrollbars() ends up causing a wxEVT_SCROLLWIN_LINEDOWN event, and the tree gets scrolled down a second time.
The event appears to be coming from gtk_scrollbar_value_changed() which is in gtk/window.gpp
Since I am explicitly giving the scroll position in SetScrollbars() I do not think the event should happen.